Jason Macnak | 2e6bb6e | 2022-12-01 13:24:03 -0800 | [diff] [blame] | 1 | // Auto-generated with: android/scripts/gen-entries.py --mode=functions stream-servers/gl/OpenGLESDispatch/render_egl.entries --output=include/OpenGLESDispatch/RenderEGL_functions.h |
Lingfeng Yang | 3c94490 | 2020-10-28 11:56:43 -0700 | [diff] [blame] | 2 | // DO NOT EDIT THIS FILE |
| 3 | |
| 4 | #ifndef RENDER_EGL_FUNCTIONS_H |
| 5 | #define RENDER_EGL_FUNCTIONS_H |
| 6 | |
| 7 | #include <EGL/egl.h> |
| 8 | #define translator_egl_const_char const char |
| 9 | #define LIST_RENDER_EGL_FUNCTIONS(X) \ |
| 10 | X(EGLint, eglGetError, ()) \ |
| 11 | X(EGLDisplay, eglGetDisplay, (EGLNativeDisplayType dpy)) \ |
| 12 | X(EGLBoolean, eglTerminate, (EGLDisplay dpy)) \ |
| 13 | X(EGLBoolean, eglInitialize, (EGLDisplay dpy, EGLint* major, EGLint* minor)) \ |
| 14 | X(translator_egl_const_char*, eglQueryString, (EGLDisplay dpy, EGLint id)) \ |
| 15 | X(EGLBoolean, eglGetConfigs, (EGLDisplay display, EGLConfig* configs, EGLint config_size, EGLint* num_config)) \ |
| 16 | X(EGLBoolean, eglChooseConfig, (EGLDisplay display, const EGLint* attribs, EGLConfig* configs, EGLint config_size, EGLint* num_config)) \ |
| 17 | X(EGLBoolean, eglGetConfigAttrib, (EGLDisplay display, EGLConfig config, EGLint attribute, EGLint* value)) \ |
| 18 | X(EGLSurface, eglCreateWindowSurface, (EGLDisplay display, EGLConfig config, EGLNativeWindowType native_window, const EGLint* attrib_list)) \ |
| 19 | X(EGLSurface, eglCreatePbufferSurface, (EGLDisplay display, EGLConfig config, const EGLint* attrib_list)) \ |
| 20 | X(EGLBoolean, eglDestroySurface, (EGLDisplay display, EGLSurface surface)) \ |
| 21 | X(EGLBoolean, eglBindAPI, (EGLenum api)) \ |
| 22 | X(EGLenum, eglQueryAPI, ()) \ |
| 23 | X(EGLBoolean, eglReleaseThread, ()) \ |
| 24 | X(EGLContext, eglCreateContext, (EGLDisplay display, EGLConfig config, EGLContext share_context, const EGLint* attrib_list)) \ |
| 25 | X(EGLBoolean, eglDestroyContext, (EGLDisplay display, EGLContext context)) \ |
| 26 | X(EGLBoolean, eglMakeCurrent, (EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context)) \ |
| 27 | X(EGLContext, eglGetCurrentContext, ()) \ |
Jason Macnak | 843b84b | 2023-05-19 14:19:25 -0700 | [diff] [blame] | 28 | X(EGLDisplay, eglGetCurrentDisplay, ()) \ |
Lingfeng Yang | 3c94490 | 2020-10-28 11:56:43 -0700 | [diff] [blame] | 29 | X(EGLSurface, eglGetCurrentSurface, (EGLint readdraw)) \ |
| 30 | X(EGLBoolean, eglQuerySurface, (EGLDisplay display, EGLSurface surface, EGLint attribute, EGLint * value)) \ |
| 31 | X(EGLBoolean, eglSwapBuffers, (EGLDisplay display, EGLSurface surface)) \ |
| 32 | X(void*, eglGetProcAddress, (const char* function_name)) \ |
| 33 | |
| 34 | |
| 35 | #endif // RENDER_EGL_FUNCTIONS_H |