|
Blender V4.3
|
#include "GHOST_ContextGLX.hh"#include "GHOST_SystemX11.hh"#include <vector>#include <cassert>#include <cstdio>#include <cstring>Go to the source code of this file.
Macros | |
| #define | USE_GLXEW_INIT_WORKAROUND |
Functions | |
| static GLuint | _glewStrLen (const GLubyte *s) |
| static GLboolean | _glewSearchExtension (const char *name, const GLubyte *start, const GLubyte *end) |
| int | GHOST_X11_GL_GetAttributes (int *attribs, int attribs_max, bool is_stereo_visual, bool need_alpha, bool for_fb_config) |
| static GLuint | _glewStrCLen (const GLubyte *s, GLubyte c) |
| static GLboolean | _glewStrSame (const GLubyte *a, const GLubyte *b, GLuint n) |
Definition of GHOST_ContextGLX class.
Definition in file GHOST_ContextGLX.cc.
| #define USE_GLXEW_INIT_WORKAROUND |
Definition at line 21 of file GHOST_ContextGLX.cc.
|
static |
Definition at line 426 of file GHOST_ContextGLX.cc.
References _glewStrCLen(), _glewStrLen(), _glewStrSame(), and len.
Referenced by GHOST_ContextGLX::initializeDrawingContext().
|
static |
Definition at line 402 of file GHOST_ContextGLX.cc.
Referenced by _glewSearchExtension().
|
static |
Definition at line 390 of file GHOST_ContextGLX.cc.
Referenced by _glewSearchExtension(), and GHOST_ContextGLX::initializeDrawingContext().
|
static |
Definition at line 414 of file GHOST_ContextGLX.cc.
References b.
Referenced by _glewSearchExtension().
| 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 340 of file GHOST_ContextGLX.cc.
References GHOST_ASSERT.
Referenced by GHOST_ContextGLX::initializeDrawingContext().