Blender
V3.3
|
Go to the source code of this file.
Classes | |
class | GHOST_ContextGLX |
Macros | |
#define | GHOST_OPENGL_GLX_CONTEXT_FLAGS 0 |
#define | GHOST_OPENGL_GLX_RESET_NOTIFICATION_STRATEGY 0 |
Functions | |
int | GHOST_X11_GL_GetAttributes (int *attribs, int attribs_max, bool is_stereo_visual, bool need_alpha, bool for_fb_config) |
#define GHOST_OPENGL_GLX_CONTEXT_FLAGS 0 |
Definition at line 16 of file GHOST_ContextGLX.h.
#define GHOST_OPENGL_GLX_RESET_NOTIFICATION_STRATEGY 0 |
Definition at line 20 of file GHOST_ContextGLX.h.
int GHOST_X11_GL_GetAttributes | ( | int * | attribs, |
int | attribs_max, | ||
bool | is_stereo_visual, | ||
bool | need_alpha, | ||
bool | for_fb_config | ||
) |
Utility function to get GLX attributes.
for_fb_config | There are some small differences in #glXChooseVisual and #glXChooseFBConfig's attribute encoding. |
Definition at line 350 of file GHOST_ContextGLX.cpp.
References GHOST_ASSERT, and void.
Referenced by GHOST_ContextGLX::initializeDrawingContext(), and x11_visualinfo_from_glx().