mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
ENABLE_THUMBNAIL_GENERATOR -> Use off-screen framebuffer to render the thumbnail on graphic cards supporting it
This commit is contained in:
parent
f36dd833d2
commit
3ff3eed2b1
4 changed files with 151 additions and 82 deletions
|
@ -77,6 +77,7 @@ private:
|
|||
bool m_gl_initialized;
|
||||
static EMultisampleState s_multisample;
|
||||
static bool s_compressed_textures_supported;
|
||||
static bool s_framebuffers_supported;
|
||||
|
||||
public:
|
||||
GLCanvas3DManager();
|
||||
|
@ -97,6 +98,7 @@ public:
|
|||
|
||||
static bool can_multisample() { return s_multisample == MS_Enabled; }
|
||||
static bool are_compressed_textures_supported() { return s_compressed_textures_supported; }
|
||||
static bool are_framebuffers_supported() { return s_framebuffers_supported; }
|
||||
|
||||
static wxGLCanvas* create_wxglcanvas(wxWindow *parent);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue