#include "gl-state-egl.h"
#include "log.h"
#include "options.h"
#include "gl-headers.h"
#include "limits.h"
#include "gl-headers.h"
#include <iomanip>
#include <sstream>
#include <cstring>
vector;
string;
GLADapiproc load_egl_func(void *userdata, const char *name)
{ … }
EglConfig::EglConfig(EGLDisplay dpy, EGLConfig config) : … { … }
void
EglConfig::print_header()
{ … }
void
EglConfig::print() const
{ … }
GLStateEGL::~GLStateEGL()
{ … }
bool
GLStateEGL::init_display(void* native_display, GLVisualConfig& visual_config)
{ … }
bool
GLStateEGL::init_surface(void* native_window)
{ … }
bool
GLStateEGL::init_gl_extensions()
{ … }
bool
GLStateEGL::valid()
{ … }
bool
GLStateEGL::reset()
{ … }
void
GLStateEGL::swap()
{ … }
bool
GLStateEGL::gotNativeConfig(intptr_t& vid)
{ … }
void
GLStateEGL::getVisualConfig(GLVisualConfig& vc)
{ … }
#ifdef GLMARK2_USE_X11
#define GLMARK2_NATIVE_EGL_DISPLAY_ENUM …
#elif GLMARK2_USE_WAYLAND
#define GLMARK2_NATIVE_EGL_DISPLAY_ENUM …
#elif GLMARK2_USE_DRM
#define GLMARK2_NATIVE_EGL_DISPLAY_ENUM …
#elif GLMARK2_USE_MIR
#define GLMARK2_NATIVE_EGL_DISPLAY_ENUM …
#else
#define GLMARK2_NATIVE_EGL_DISPLAY_ENUM …
#endif
bool
GLStateEGL::gotValidDisplay()
{ … }
void
GLStateEGL::get_glvisualconfig(EGLConfig config, GLVisualConfig& visual_config)
{ … }
EGLConfig
GLStateEGL::select_best_config(std::vector<EGLConfig>& configs)
{ … }
bool
GLStateEGL::gotValidConfig()
{ … }
bool
GLStateEGL::gotValidSurface()
{ … }
bool
GLStateEGL::gotValidContext()
{ … }
GLADapiproc
GLStateEGL::load_proc(void *userptr, const char* name)
{ … }