Flutter Engine
The Flutter Engine
|
#include <epoxy/egl.h>
#include <epoxy/gl.h>
Go to the source code of this file.
Classes | |
struct | MockConfig |
struct | MockDisplay |
struct | MockContext |
struct | MockSurface |
Functions | |
static bool | check_display (EGLDisplay dpy) |
static bool | check_initialized (EGLDisplay dpy) |
static bool | check_config (EGLConfig config) |
static EGLBoolean | bool_success () |
static EGLBoolean | bool_failure (EGLint error) |
EGLBoolean | _eglBindAPI (EGLenum api) |
EGLBoolean | _eglChooseConfig (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) |
EGLContext | _eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) |
EGLSurface | _eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) |
EGLSurface | _eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) |
EGLBoolean | _eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) |
EGLDisplay | _eglGetDisplay (EGLNativeDisplayType display_id) |
EGLint | _eglGetError () |
EGLBoolean | _eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor) |
EGLBoolean | _eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) |
EGLBoolean | _eglQueryContext (EGLDisplay display, EGLContext context, EGLint attribute, EGLint *value) |
EGLBoolean | _eglSwapBuffers (EGLDisplay dpy, EGLSurface surface) |
static void | _glBindFramebuffer (GLenum target, GLuint framebuffer) |
static void | _glBindTexture (GLenum target, GLuint texture) |
void | _glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers) |
void | _glDeleteTextures (GLsizei n, const GLuint *textures) |
static void | _glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
static void | _glGenTextures (GLsizei n, GLuint *textures) |
static void | _glGenFramebuffers (GLsizei n, GLuint *framebuffers) |
static void | _glGetIntegerv (GLenum pname, GLint *data) |
static void | _glTexParameterf (GLenum target, GLenum pname, GLfloat param) |
static void | _glTexParameteri (GLenum target, GLenum pname, GLint param) |
static void | _glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) |
static GLenum | _glGetError () |
bool | epoxy_has_gl_extension (const char *extension) |
bool | epoxy_is_desktop_gl (void) |
int | epoxy_gl_version (void) |
static void | library_init () |
Variables | |
static bool | display_initialized = false |
static MockDisplay | mock_display |
static MockConfig | mock_config |
static MockContext | mock_context |
static MockSurface | mock_surface |
static EGLint | mock_error = EGL_SUCCESS |
void(*)(void) | _eglGetProcAddress (const char *procname) |
static GLuint | bound_texture_2d |
EGLBoolean(* | epoxy_eglBindAPI )(EGLenum api) |
EGLBoolean(* | epoxy_eglChooseConfig )(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) |
EGLContext(* | epoxy_eglCreateContext )(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) |
EGLSurface(* | epoxy_eglCreatePbufferSurface )(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) |
EGLSurface(* | epoxy_eglCreateWindowSurface )(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) |
EGLBoolean(* | epoxy_eglGetConfigAttrib )(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) |
EGLDisplay(* | epoxy_eglGetDisplay )(EGLNativeDisplayType display_id) |
EGLint(* | epoxy_eglGetError )() |
void(*(* | epoxy_eglGetProcAddress )(const char *procname))(void) |
EGLBoolean(* | epoxy_eglInitialize )(EGLDisplay dpy, EGLint *major, EGLint *minor) |
EGLBoolean(* | epoxy_eglMakeCurrent )(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) |
EGLBoolean(* | epoxy_eglSwapBuffers )(EGLDisplay dpy, EGLSurface surface) |
void(* | epoxy_glBindFramebuffer )(GLenum target, GLuint framebuffer) |
void(* | epoxy_glBindTexture )(GLenum target, GLuint texture) |
void(* | epoxy_glDeleteFramebuffers )(GLsizei n, const GLuint *framebuffers) |
void(* | epoxy_glDeleteTextures )(GLsizei n, const GLuint *textures) |
void(* | epoxy_glFramebufferTexture2D )(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
void(* | epoxy_glGenFramebuffers )(GLsizei n, GLuint *framebuffers) |
void(* | epoxy_glGenTextures )(GLsizei n, GLuint *textures) |
void(* | epoxy_glTexParameterf )(GLenum target, GLenum pname, GLfloat param) |
void(* | epoxy_glTexParameteri )(GLenum target, GLenum pname, GLint param) |
void(* | epoxy_glTexImage2D )(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) |
GLenum(* | epoxy_glGetError )() |
EGLBoolean _eglBindAPI | ( | EGLenum | api | ) |
Definition at line 93 of file mock_epoxy.cc.
EGLBoolean _eglChooseConfig | ( | EGLDisplay | dpy, |
const EGLint * | attrib_list, | ||
EGLConfig * | configs, | ||
EGLint | config_size, | ||
EGLint * | num_config | ||
) |
Definition at line 97 of file mock_epoxy.cc.
EGLContext _eglCreateContext | ( | EGLDisplay | dpy, |
EGLConfig | config, | ||
EGLContext | share_context, | ||
const EGLint * | attrib_list | ||
) |
Definition at line 126 of file mock_epoxy.cc.
EGLSurface _eglCreatePbufferSurface | ( | EGLDisplay | dpy, |
EGLConfig | config, | ||
const EGLint * | attrib_list | ||
) |
Definition at line 138 of file mock_epoxy.cc.
EGLSurface _eglCreateWindowSurface | ( | EGLDisplay | dpy, |
EGLConfig | config, | ||
EGLNativeWindowType | win, | ||
const EGLint * | attrib_list | ||
) |
Definition at line 149 of file mock_epoxy.cc.
EGLBoolean _eglGetConfigAttrib | ( | EGLDisplay | dpy, |
EGLConfig | config, | ||
EGLint | attribute, | ||
EGLint * | value | ||
) |
Definition at line 161 of file mock_epoxy.cc.
EGLDisplay _eglGetDisplay | ( | EGLNativeDisplayType | display_id | ) |
Definition at line 257 of file mock_epoxy.cc.
EGLint _eglGetError | ( | ) |
Definition at line 261 of file mock_epoxy.cc.
EGLBoolean _eglInitialize | ( | EGLDisplay | dpy, |
EGLint * | major, | ||
EGLint * | minor | ||
) |
Definition at line 272 of file mock_epoxy.cc.
EGLBoolean _eglMakeCurrent | ( | EGLDisplay | dpy, |
EGLSurface | draw, | ||
EGLSurface | read, | ||
EGLContext | ctx | ||
) |
Definition at line 318 of file mock_epoxy.cc.
EGLBoolean _eglQueryContext | ( | EGLDisplay | display, |
EGLContext | context, | ||
EGLint | attribute, | ||
EGLint * | value | ||
) |
Definition at line 328 of file mock_epoxy.cc.
EGLBoolean _eglSwapBuffers | ( | EGLDisplay | dpy, |
EGLSurface | surface | ||
) |
Definition at line 339 of file mock_epoxy.cc.
|
static |
Definition at line 349 of file mock_epoxy.cc.
|
static |
Definition at line 351 of file mock_epoxy.cc.
void _glDeleteFramebuffers | ( | GLsizei | n, |
const GLuint * | framebuffers | ||
) |
Definition at line 357 of file mock_epoxy.cc.
void _glDeleteTextures | ( | GLsizei | n, |
const GLuint * | textures | ||
) |
Definition at line 359 of file mock_epoxy.cc.
|
static |
Definition at line 361 of file mock_epoxy.cc.
|
static |
Definition at line 373 of file mock_epoxy.cc.
|
static |
|
static |
Definition at line 399 of file mock_epoxy.cc.
|
static |
Definition at line 379 of file mock_epoxy.cc.
|
static |
Definition at line 389 of file mock_epoxy.cc.
|
static |
Definition at line 385 of file mock_epoxy.cc.
|
static |
Definition at line 387 of file mock_epoxy.cc.
|
static |
Definition at line 88 of file mock_epoxy.cc.
|
static |
Definition at line 83 of file mock_epoxy.cc.
|
static |
Definition at line 74 of file mock_epoxy.cc.
|
static |
Definition at line 56 of file mock_epoxy.cc.
|
static |
Definition at line 65 of file mock_epoxy.cc.
int epoxy_gl_version | ( | void | ) |
Definition at line 411 of file mock_epoxy.cc.
bool epoxy_has_gl_extension | ( | const char * | extension | ) |
Definition at line 403 of file mock_epoxy.cc.
bool epoxy_is_desktop_gl | ( | void | ) |
Definition at line 407 of file mock_epoxy.cc.
|
static |
Definition at line 490 of file mock_epoxy.cc.
void(*)(void) _eglGetProcAddress(const char *procname) | ( | const char * | procname | ) |
Definition at line 267 of file mock_epoxy.cc.
|
static |
Definition at line 347 of file mock_epoxy.cc.
|
static |
Definition at line 48 of file mock_epoxy.cc.
EGLBoolean(* epoxy_eglBindAPI) (EGLenum api) | ( | EGLenum | api | ) |
Definition at line 435 of file mock_epoxy.cc.
EGLBoolean(* epoxy_eglChooseConfig) (EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) | ( | EGLDisplay | dpy, |
const EGLint * | attrib_list, | ||
EGLConfig * | configs, | ||
EGLint | config_size, | ||
EGLint * | num_config | ||
) |
Definition at line 436 of file mock_epoxy.cc.
EGLContext(* epoxy_eglCreateContext) (EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list) | ( | EGLDisplay | dpy, |
EGLConfig | config, | ||
EGLContext | share_context, | ||
const EGLint * | attrib_list | ||
) |
Definition at line 441 of file mock_epoxy.cc.
EGLSurface(* epoxy_eglCreatePbufferSurface) (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) | ( | EGLDisplay | dpy, |
EGLConfig | config, | ||
const EGLint * | attrib_list | ||
) |
Definition at line 445 of file mock_epoxy.cc.
EGLSurface(* epoxy_eglCreateWindowSurface) (EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list) | ( | EGLDisplay | dpy, |
EGLConfig | config, | ||
EGLNativeWindowType | win, | ||
const EGLint * | attrib_list | ||
) |
Definition at line 448 of file mock_epoxy.cc.
EGLBoolean(* epoxy_eglGetConfigAttrib) (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) | ( | EGLDisplay | dpy, |
EGLConfig | config, | ||
EGLint | attribute, | ||
EGLint * | value | ||
) |
Definition at line 452 of file mock_epoxy.cc.
EGLDisplay(* epoxy_eglGetDisplay) (EGLNativeDisplayType display_id) | ( | EGLNativeDisplayType | display_id | ) |
Definition at line 456 of file mock_epoxy.cc.
EGLint(* epoxy_eglGetError) () | ( | ) |
Definition at line 457 of file mock_epoxy.cc.
void(*(* epoxy_eglGetProcAddress) (const char *procname))(void) | ( | const char * | procname | ) |
Definition at line 458 of file mock_epoxy.cc.
EGLBoolean(* epoxy_eglInitialize) (EGLDisplay dpy, EGLint *major, EGLint *minor) | ( | EGLDisplay | dpy, |
EGLint * | major, | ||
EGLint * | minor | ||
) |
Definition at line 459 of file mock_epoxy.cc.
EGLBoolean(* epoxy_eglMakeCurrent) (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) | ( | EGLDisplay | dpy, |
EGLSurface | draw, | ||
EGLSurface | read, | ||
EGLContext | ctx | ||
) |
Definition at line 460 of file mock_epoxy.cc.
EGLBoolean(* epoxy_eglSwapBuffers) (EGLDisplay dpy, EGLSurface surface) | ( | EGLDisplay | dpy, |
EGLSurface | surface | ||
) |
Definition at line 464 of file mock_epoxy.cc.
void(* epoxy_glBindFramebuffer) (GLenum target, GLuint framebuffer) | ( | GLenum | target, |
GLuint | framebuffer | ||
) |
Definition at line 466 of file mock_epoxy.cc.
Definition at line 467 of file mock_epoxy.cc.
void(* epoxy_glDeleteFramebuffers) (GLsizei n, const GLuint *framebuffers) | ( | GLsizei | n, |
const GLuint * | framebuffers | ||
) |
Definition at line 468 of file mock_epoxy.cc.
void(* epoxy_glDeleteTextures) (GLsizei n, const GLuint *textures) | ( | GLsizei | n, |
const GLuint * | textures | ||
) |
Definition at line 469 of file mock_epoxy.cc.
void(* epoxy_glFramebufferTexture2D) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) | ( | GLenum | target, |
GLenum | attachment, | ||
GLenum | textarget, | ||
GLuint | texture, | ||
GLint | level | ||
) |
Definition at line 470 of file mock_epoxy.cc.
void(* epoxy_glGenFramebuffers) (GLsizei n, GLuint *framebuffers) | ( | GLsizei | n, |
GLuint * | framebuffers | ||
) |
Definition at line 475 of file mock_epoxy.cc.
void(* epoxy_glGenTextures) (GLsizei n, GLuint *textures) | ( | GLsizei | n, |
GLuint * | textures | ||
) |
Definition at line 476 of file mock_epoxy.cc.
GLenum(* epoxy_glGetError) () | ( | ) |
Definition at line 488 of file mock_epoxy.cc.
void(* epoxy_glTexImage2D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) | ( | GLenum | target, |
GLint | level, | ||
GLint | internalformat, | ||
GLsizei | width, | ||
GLsizei | height, | ||
GLint | border, | ||
GLenum | format, | ||
GLenum | type, | ||
const void * | pixels | ||
) |
Definition at line 479 of file mock_epoxy.cc.
void(* epoxy_glTexParameterf) (GLenum target, GLenum pname, GLfloat param) | ( | GLenum | target, |
GLenum | pname, | ||
GLfloat | param | ||
) |
Definition at line 477 of file mock_epoxy.cc.
void(* epoxy_glTexParameteri) (GLenum target, GLenum pname, GLint param) | ( | GLenum | target, |
GLenum | pname, | ||
GLint | param | ||
) |
Definition at line 478 of file mock_epoxy.cc.
|
static |
Definition at line 50 of file mock_epoxy.cc.
|
static |
Definition at line 51 of file mock_epoxy.cc.
|
static |
Definition at line 49 of file mock_epoxy.cc.
|
static |
Definition at line 54 of file mock_epoxy.cc.
|
static |
Definition at line 52 of file mock_epoxy.cc.