|
Blender V4.3
|
#include "GHOST_ContextEGL.hh"#include <set>#include <sstream>#include <vector>#include <cassert>#include <cstdio>#include <cstring>Go to the source code of this file.
Macros | |
| #define | CASE_CODE_RETURN_STR(code) |
| #define | EGL_CHK(x) egl_chk((x), __FILE__, __LINE__, #x) |
Functions | |
| static const char * | get_egl_error_enum_string (EGLint error) |
| static const char * | get_egl_error_message_string (EGLint error) |
| static void | egl_print_error (const char *message, const EGLint error) |
| static bool | egl_chk (bool result, const char *file=nullptr, int line=0, const char *text=nullptr) |
| template<typename T > | |
| T & | choose_api (EGLenum api, T &a, T &b, T &c) |
| static const std::string & | api_string (EGLenum api) |
Definition of GHOST_ContextEGL class.
Definition in file GHOST_ContextEGL.cc.
| #define CASE_CODE_RETURN_STR | ( | code | ) |
Definition at line 21 of file GHOST_ContextEGL.cc.
Referenced by get_egl_error_enum_string().
Definition at line 157 of file GHOST_ContextEGL.cc.
Referenced by GHOST_ContextEGL::activateDrawingContext(), GHOST_ContextEGL::initializeDrawingContext(), GHOST_ContextEGL::releaseDrawingContext(), GHOST_ContextEGL::setSwapInterval(), GHOST_ContextEGL::swapBuffers(), and GHOST_ContextEGL::~GHOST_ContextEGL().
|
static |
Definition at line 322 of file GHOST_ContextEGL.cc.
References b, and choose_api().
Referenced by GHOST_ContextEGL::initializeDrawingContext().
|
static |
Definition at line 127 of file GHOST_ContextEGL.cc.
References egl_print_error(), error(), get_egl_error_enum_string(), get_egl_error_message_string(), and result.
|
static |
Definition at line 114 of file GHOST_ContextEGL.cc.
References error(), get_egl_error_enum_string(), and get_egl_error_message_string().
Referenced by egl_chk(), and GHOST_ContextEGL::initializeDrawingContext().
|
static |
Definition at line 25 of file GHOST_ContextEGL.cc.
References CASE_CODE_RETURN_STR, and error().
Referenced by egl_chk(), and egl_print_error().
|
static |
Definition at line 48 of file GHOST_ContextEGL.cc.
References error().
Referenced by egl_chk(), and egl_print_error().