Blender
V3.3
|
#include "GHOST_ContextEGL.h"
#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 bool | egl_chk (bool result, const char *file=nullptr, int line=0, const char *text=nullptr) |
static bool | bindAPI (EGLenum api) |
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.cpp.
#define CASE_CODE_RETURN_STR | ( | code | ) |
Definition at line 20 of file GHOST_ContextEGL.cpp.
Definition at line 149 of file GHOST_ContextEGL.cpp.
|
static |
Definition at line 338 of file GHOST_ContextEGL.cpp.
References Freestyle::a, usdtokens::b(), Freestyle::c, and choose_api().
Referenced by GHOST_ContextEGL::initializeDrawingContext().
|
inlinestatic |
Definition at line 154 of file GHOST_ContextEGL.cpp.
References EGL_CHK.
Referenced by GHOST_ContextEGL::activateDrawingContext(), GHOST_ContextEGL::initializeDrawingContext(), GHOST_ContextEGL::releaseDrawingContext(), and GHOST_ContextEGL::~GHOST_ContextEGL().
Definition at line 180 of file GHOST_ContextEGL.cpp.
References Freestyle::a, usdtokens::b(), and Freestyle::c.
Referenced by api_string().
|
static |
Definition at line 113 of file GHOST_ContextEGL.cpp.
References error(), file, get_egl_error_enum_string(), get_egl_error_message_string(), result, and void.
|
static |
Definition at line 24 of file GHOST_ContextEGL.cpp.
References CASE_CODE_RETURN_STR, and error().
Referenced by egl_chk().
|
static |