Go to the source code of this file.
Classes | |
struct | _GLFWcontextEGL |
struct | _GLFWlibraryEGL |
Functions | |
GLFWbool | _glfwCreateContextEGL (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig) |
GLFWbool | _glfwInitEGL (void) |
void | _glfwTerminateEGL (void) |
#define _GLFW_EGL_CONTEXT_STATE _GLFWcontextEGL egl |
Definition at line 152 of file egl_context.h.
#define _GLFW_EGL_LIBRARY_CONTEXT_STATE _GLFWlibraryEGL egl |
Definition at line 153 of file egl_context.h.
#define EGL_ALPHA_SIZE 0x3021 |
Definition at line 73 of file egl_context.h.
#define EGL_BAD_ACCESS 0x3002 |
Definition at line 52 of file egl_context.h.
#define EGL_BAD_ALLOC 0x3003 |
Definition at line 53 of file egl_context.h.
#define EGL_BAD_ATTRIBUTE 0x3004 |
Definition at line 54 of file egl_context.h.
#define EGL_BAD_CONFIG 0x3005 |
Definition at line 55 of file egl_context.h.
#define EGL_BAD_CONTEXT 0x3006 |
Definition at line 56 of file egl_context.h.
#define EGL_BAD_CURRENT_SURFACE 0x3007 |
Definition at line 57 of file egl_context.h.
#define EGL_BAD_DISPLAY 0x3008 |
Definition at line 58 of file egl_context.h.
#define EGL_BAD_MATCH 0x3009 |
Definition at line 59 of file egl_context.h.
#define EGL_BAD_NATIVE_PIXMAP 0x300a |
Definition at line 60 of file egl_context.h.
#define EGL_BAD_NATIVE_WINDOW 0x300b |
Definition at line 61 of file egl_context.h.
#define EGL_BAD_PARAMETER 0x300c |
Definition at line 62 of file egl_context.h.
#define EGL_BAD_SURFACE 0x300d |
Definition at line 63 of file egl_context.h.
#define EGL_BLUE_SIZE 0x3022 |
Definition at line 74 of file egl_context.h.
#define EGL_COLOR_BUFFER_TYPE 0x303f |
Definition at line 65 of file egl_context.h.
#define EGL_CONTEXT_CLIENT_VERSION 0x3098 |
Definition at line 84 of file egl_context.h.
#define EGL_CONTEXT_FLAGS_KHR 0x30fc |
Definition at line 102 of file egl_context.h.
#define EGL_CONTEXT_LOST 0x300e |
Definition at line 64 of file egl_context.h.
#define EGL_CONTEXT_MAJOR_VERSION_KHR 0x3098 |
Definition at line 99 of file egl_context.h.
#define EGL_CONTEXT_MINOR_VERSION_KHR 0x30fb |
Definition at line 100 of file egl_context.h.
#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 |
Definition at line 93 of file egl_context.h.
#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 |
Definition at line 92 of file egl_context.h.
#define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 |
Definition at line 94 of file egl_context.h.
#define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 |
Definition at line 91 of file egl_context.h.
#define EGL_CONTEXT_OPENGL_NO_ERROR_KHR 0x31b3 |
Definition at line 103 of file egl_context.h.
#define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30fd |
Definition at line 101 of file egl_context.h.
#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31bd |
Definition at line 95 of file egl_context.h.
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 |
Definition at line 98 of file egl_context.h.
#define EGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x2098 |
Definition at line 108 of file egl_context.h.
#define EGL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x2097 |
Definition at line 106 of file egl_context.h.
#define EGL_CONTEXT_RELEASE_BEHAVIOR_NONE_KHR 0 |
Definition at line 107 of file egl_context.h.
#define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType) 0) |
Definition at line 89 of file egl_context.h.
#define EGL_DEPTH_SIZE 0x3025 |
Definition at line 77 of file egl_context.h.
#define EGL_EXTENSIONS 0x3055 |
Definition at line 83 of file egl_context.h.
#define EGL_GL_COLORSPACE_KHR 0x309d |
Definition at line 104 of file egl_context.h.
#define EGL_GL_COLORSPACE_SRGB_KHR 0x3089 |
Definition at line 105 of file egl_context.h.
#define EGL_GREEN_SIZE 0x3023 |
Definition at line 75 of file egl_context.h.
#define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31bf |
Definition at line 97 of file egl_context.h.
#define EGL_NATIVE_VISUAL_ID 0x302e |
Definition at line 85 of file egl_context.h.
#define EGL_NO_CONTEXT ((EGLContext) 0) |
Definition at line 88 of file egl_context.h.
#define EGL_NO_DISPLAY ((EGLDisplay) 0) |
Definition at line 87 of file egl_context.h.
#define EGL_NO_RESET_NOTIFICATION_KHR 0x31be |
Definition at line 96 of file egl_context.h.
#define EGL_NO_SURFACE ((EGLSurface) 0) |
Definition at line 86 of file egl_context.h.
#define EGL_NONE 0x3038 |
Definition at line 82 of file egl_context.h.
#define EGL_NOT_INITIALIZED 0x3001 |
Definition at line 51 of file egl_context.h.
#define EGL_OPENGL_API 0x30a2 |
Definition at line 81 of file egl_context.h.
#define EGL_OPENGL_BIT 0x0008 |
Definition at line 72 of file egl_context.h.
#define EGL_OPENGL_ES2_BIT 0x0004 |
Definition at line 71 of file egl_context.h.
#define EGL_OPENGL_ES_API 0x30a0 |
Definition at line 80 of file egl_context.h.
#define EGL_OPENGL_ES_BIT 0x0001 |
Definition at line 70 of file egl_context.h.
#define EGL_RED_SIZE 0x3024 |
Definition at line 76 of file egl_context.h.
#define EGL_RENDERABLE_TYPE 0x3040 |
Definition at line 69 of file egl_context.h.
#define EGL_RGB_BUFFER 0x308e |
Definition at line 66 of file egl_context.h.
#define EGL_SAMPLES 0x3031 |
Definition at line 79 of file egl_context.h.
#define EGL_STENCIL_SIZE 0x3026 |
Definition at line 78 of file egl_context.h.
#define EGL_SUCCESS 0x3000 |
Definition at line 50 of file egl_context.h.
#define EGL_SURFACE_TYPE 0x3033 |
Definition at line 67 of file egl_context.h.
#define EGL_WINDOW_BIT 0x0004 |
Definition at line 68 of file egl_context.h.
#define eglBindAPI _glfw.egl.BindAPI |
Definition at line 141 of file egl_context.h.
#define eglCreateContext _glfw.egl.CreateContext |
Definition at line 142 of file egl_context.h.
#define eglCreateWindowSurface _glfw.egl.CreateWindowSurface |
Definition at line 145 of file egl_context.h.
#define eglDestroyContext _glfw.egl.DestroyContext |
Definition at line 144 of file egl_context.h.
#define eglDestroySurface _glfw.egl.DestroySurface |
Definition at line 143 of file egl_context.h.
#define eglGetConfigAttrib _glfw.egl.GetConfigAttrib |
Definition at line 135 of file egl_context.h.
#define eglGetConfigs _glfw.egl.GetConfigs |
Definition at line 136 of file egl_context.h.
#define eglGetDisplay _glfw.egl.GetDisplay |
Definition at line 137 of file egl_context.h.
#define eglGetError _glfw.egl.GetError |
Definition at line 138 of file egl_context.h.
#define eglGetProcAddress _glfw.egl.GetProcAddress |
Definition at line 150 of file egl_context.h.
#define eglInitialize _glfw.egl.Initialize |
Definition at line 139 of file egl_context.h.
#define eglMakeCurrent _glfw.egl.MakeCurrent |
Definition at line 146 of file egl_context.h.
#define eglQueryString _glfw.egl.QueryString |
Definition at line 149 of file egl_context.h.
#define eglSwapBuffers _glfw.egl.SwapBuffers |
Definition at line 147 of file egl_context.h.
#define eglSwapInterval _glfw.egl.SwapInterval |
Definition at line 148 of file egl_context.h.
#define eglTerminate _glfw.egl.Terminate |
Definition at line 140 of file egl_context.h.
typedef struct _GLFWcontextEGL _GLFWcontextEGL |
typedef struct _GLFWlibraryEGL _GLFWlibraryEGL |
typedef unsigned int EGLBoolean |
Definition at line 111 of file egl_context.h.
Definition at line 113 of file egl_context.h.
typedef void* EGLContext |
Definition at line 114 of file egl_context.h.
typedef void* EGLDisplay |
Definition at line 115 of file egl_context.h.
typedef unsigned int EGLenum |
Definition at line 112 of file egl_context.h.
typedef int EGLint |
Definition at line 110 of file egl_context.h.
typedef void* EGLSurface |
Definition at line 116 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglBindAPI) (EGLenum) |
Definition at line 125 of file egl_context.h.
typedef EGLContext(EGLAPIENTRY * PFN_eglCreateContext) (EGLDisplay, EGLConfig, EGLContext, const EGLint *) |
Definition at line 126 of file egl_context.h.
typedef EGLSurface(EGLAPIENTRY * PFN_eglCreateWindowSurface) (EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint *) |
Definition at line 129 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglDestroyContext) (EGLDisplay, EGLContext) |
Definition at line 128 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglDestroySurface) (EGLDisplay, EGLSurface) |
Definition at line 127 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglGetConfigAttrib) (EGLDisplay, EGLConfig, EGLint, EGLint *) |
Definition at line 119 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglGetConfigs) (EGLDisplay, EGLConfig *, EGLint, EGLint *) |
Definition at line 120 of file egl_context.h.
typedef EGLDisplay(EGLAPIENTRY * PFN_eglGetDisplay) (EGLNativeDisplayType) |
Definition at line 121 of file egl_context.h.
Definition at line 122 of file egl_context.h.
typedef GLFWglproc(EGLAPIENTRY * PFN_eglGetProcAddress) (const char *) |
Definition at line 134 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglInitialize) (EGLDisplay, EGLint *, EGLint *) |
Definition at line 123 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglMakeCurrent) (EGLDisplay, EGLSurface, EGLSurface, EGLContext) |
Definition at line 130 of file egl_context.h.
typedef const char*(EGLAPIENTRY * PFN_eglQueryString) (EGLDisplay, EGLint) |
Definition at line 133 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglSwapBuffers) (EGLDisplay, EGLSurface) |
Definition at line 131 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglSwapInterval) (EGLDisplay, EGLint) |
Definition at line 132 of file egl_context.h.
typedef EGLBoolean(EGLAPIENTRY * PFN_eglTerminate) (EGLDisplay) |
Definition at line 124 of file egl_context.h.
GLFWbool _glfwCreateContextEGL | ( | _GLFWwindow * | window, |
const _GLFWctxconfig * | ctxconfig, | ||
const _GLFWfbconfig * | fbconfig | ||
) |
Definition at line 456 of file egl_context.c.
Definition at line 300 of file egl_context.c.
Definition at line 432 of file egl_context.c.