1*8975f5c5SAndroid Build Coastguard Worker // GENERATED FILE - DO NOT EDIT. 2*8975f5c5SAndroid Build Coastguard Worker // Generated by generate_entry_points.py using data from egl.xml. 3*8975f5c5SAndroid Build Coastguard Worker // 4*8975f5c5SAndroid Build Coastguard Worker // Copyright 2020 The ANGLE Project Authors. All rights reserved. 5*8975f5c5SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 6*8975f5c5SAndroid Build Coastguard Worker // found in the LICENSE file. 7*8975f5c5SAndroid Build Coastguard Worker // 8*8975f5c5SAndroid Build Coastguard Worker // egl_stubs_autogen.h: Stubs for EGL entry points. 9*8975f5c5SAndroid Build Coastguard Worker 10*8975f5c5SAndroid Build Coastguard Worker #ifndef LIBGLESV2_EGL_STUBS_AUTOGEN_H_ 11*8975f5c5SAndroid Build Coastguard Worker #define LIBGLESV2_EGL_STUBS_AUTOGEN_H_ 12*8975f5c5SAndroid Build Coastguard Worker 13*8975f5c5SAndroid Build Coastguard Worker #include <EGL/egl.h> 14*8975f5c5SAndroid Build Coastguard Worker #include <EGL/eglext.h> 15*8975f5c5SAndroid Build Coastguard Worker 16*8975f5c5SAndroid Build Coastguard Worker #include "common/PackedEGLEnums_autogen.h" 17*8975f5c5SAndroid Build Coastguard Worker #include "common/PackedEnums.h" 18*8975f5c5SAndroid Build Coastguard Worker 19*8975f5c5SAndroid Build Coastguard Worker namespace gl 20*8975f5c5SAndroid Build Coastguard Worker { 21*8975f5c5SAndroid Build Coastguard Worker class Context; 22*8975f5c5SAndroid Build Coastguard Worker } // namespace gl 23*8975f5c5SAndroid Build Coastguard Worker 24*8975f5c5SAndroid Build Coastguard Worker namespace egl 25*8975f5c5SAndroid Build Coastguard Worker { 26*8975f5c5SAndroid Build Coastguard Worker class AttributeMap; 27*8975f5c5SAndroid Build Coastguard Worker class Device; 28*8975f5c5SAndroid Build Coastguard Worker class Display; 29*8975f5c5SAndroid Build Coastguard Worker class Image; 30*8975f5c5SAndroid Build Coastguard Worker class Stream; 31*8975f5c5SAndroid Build Coastguard Worker class Surface; 32*8975f5c5SAndroid Build Coastguard Worker class Sync; 33*8975f5c5SAndroid Build Coastguard Worker class Thread; 34*8975f5c5SAndroid Build Coastguard Worker struct Config; 35*8975f5c5SAndroid Build Coastguard Worker 36*8975f5c5SAndroid Build Coastguard Worker EGLBoolean BindAPI(Thread *thread, EGLenum api); 37*8975f5c5SAndroid Build Coastguard Worker EGLBoolean BindTexImage(Thread *thread, 38*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 39*8975f5c5SAndroid Build Coastguard Worker SurfaceID surfacePacked, 40*8975f5c5SAndroid Build Coastguard Worker EGLint buffer); 41*8975f5c5SAndroid Build Coastguard Worker EGLBoolean ChooseConfig(Thread *thread, 42*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 43*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked, 44*8975f5c5SAndroid Build Coastguard Worker EGLConfig *configs, 45*8975f5c5SAndroid Build Coastguard Worker EGLint config_size, 46*8975f5c5SAndroid Build Coastguard Worker EGLint *num_config); 47*8975f5c5SAndroid Build Coastguard Worker EGLint ClientWaitSync(Thread *thread, 48*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 49*8975f5c5SAndroid Build Coastguard Worker egl::SyncID syncPacked, 50*8975f5c5SAndroid Build Coastguard Worker EGLint flags, 51*8975f5c5SAndroid Build Coastguard Worker EGLTime timeout); 52*8975f5c5SAndroid Build Coastguard Worker EGLBoolean CopyBuffers(Thread *thread, 53*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 54*8975f5c5SAndroid Build Coastguard Worker SurfaceID surfacePacked, 55*8975f5c5SAndroid Build Coastguard Worker EGLNativePixmapType target); 56*8975f5c5SAndroid Build Coastguard Worker EGLContext CreateContext(Thread *thread, 57*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 58*8975f5c5SAndroid Build Coastguard Worker egl::Config *configPacked, 59*8975f5c5SAndroid Build Coastguard Worker gl::ContextID share_contextPacked, 60*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 61*8975f5c5SAndroid Build Coastguard Worker EGLImage CreateImage(Thread *thread, 62*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 63*8975f5c5SAndroid Build Coastguard Worker gl::ContextID ctxPacked, 64*8975f5c5SAndroid Build Coastguard Worker EGLenum target, 65*8975f5c5SAndroid Build Coastguard Worker EGLClientBuffer buffer, 66*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 67*8975f5c5SAndroid Build Coastguard Worker EGLSurface CreatePbufferFromClientBuffer(Thread *thread, 68*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 69*8975f5c5SAndroid Build Coastguard Worker EGLenum buftype, 70*8975f5c5SAndroid Build Coastguard Worker EGLClientBuffer buffer, 71*8975f5c5SAndroid Build Coastguard Worker egl::Config *configPacked, 72*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 73*8975f5c5SAndroid Build Coastguard Worker EGLSurface CreatePbufferSurface(Thread *thread, 74*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 75*8975f5c5SAndroid Build Coastguard Worker egl::Config *configPacked, 76*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 77*8975f5c5SAndroid Build Coastguard Worker EGLSurface CreatePixmapSurface(Thread *thread, 78*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 79*8975f5c5SAndroid Build Coastguard Worker egl::Config *configPacked, 80*8975f5c5SAndroid Build Coastguard Worker EGLNativePixmapType pixmap, 81*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 82*8975f5c5SAndroid Build Coastguard Worker EGLSurface CreatePlatformPixmapSurface(Thread *thread, 83*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 84*8975f5c5SAndroid Build Coastguard Worker egl::Config *configPacked, 85*8975f5c5SAndroid Build Coastguard Worker void *native_pixmap, 86*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 87*8975f5c5SAndroid Build Coastguard Worker EGLSurface CreatePlatformWindowSurface(Thread *thread, 88*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 89*8975f5c5SAndroid Build Coastguard Worker egl::Config *configPacked, 90*8975f5c5SAndroid Build Coastguard Worker void *native_window, 91*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 92*8975f5c5SAndroid Build Coastguard Worker EGLSync CreateSync(Thread *thread, 93*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 94*8975f5c5SAndroid Build Coastguard Worker EGLenum type, 95*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 96*8975f5c5SAndroid Build Coastguard Worker EGLSurface CreateWindowSurface(Thread *thread, 97*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 98*8975f5c5SAndroid Build Coastguard Worker egl::Config *configPacked, 99*8975f5c5SAndroid Build Coastguard Worker EGLNativeWindowType win, 100*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 101*8975f5c5SAndroid Build Coastguard Worker EGLBoolean DestroyContext(Thread *thread, egl::Display *dpyPacked, gl::ContextID ctxPacked); 102*8975f5c5SAndroid Build Coastguard Worker EGLBoolean DestroyImage(Thread *thread, egl::Display *dpyPacked, ImageID imagePacked); 103*8975f5c5SAndroid Build Coastguard Worker EGLBoolean DestroySurface(Thread *thread, egl::Display *dpyPacked, SurfaceID surfacePacked); 104*8975f5c5SAndroid Build Coastguard Worker EGLBoolean DestroySync(Thread *thread, egl::Display *dpyPacked, egl::SyncID syncPacked); 105*8975f5c5SAndroid Build Coastguard Worker EGLBoolean GetConfigAttrib(Thread *thread, 106*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 107*8975f5c5SAndroid Build Coastguard Worker egl::Config *configPacked, 108*8975f5c5SAndroid Build Coastguard Worker EGLint attribute, 109*8975f5c5SAndroid Build Coastguard Worker EGLint *value); 110*8975f5c5SAndroid Build Coastguard Worker EGLBoolean GetConfigs(Thread *thread, 111*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 112*8975f5c5SAndroid Build Coastguard Worker EGLConfig *configs, 113*8975f5c5SAndroid Build Coastguard Worker EGLint config_size, 114*8975f5c5SAndroid Build Coastguard Worker EGLint *num_config); 115*8975f5c5SAndroid Build Coastguard Worker EGLContext GetCurrentContext(Thread *thread); 116*8975f5c5SAndroid Build Coastguard Worker EGLDisplay GetCurrentDisplay(Thread *thread); 117*8975f5c5SAndroid Build Coastguard Worker EGLSurface GetCurrentSurface(Thread *thread, EGLint readdraw); 118*8975f5c5SAndroid Build Coastguard Worker EGLDisplay GetDisplay(Thread *thread, EGLNativeDisplayType display_id); 119*8975f5c5SAndroid Build Coastguard Worker EGLint GetError(Thread *thread); 120*8975f5c5SAndroid Build Coastguard Worker EGLDisplay GetPlatformDisplay(Thread *thread, 121*8975f5c5SAndroid Build Coastguard Worker EGLenum platform, 122*8975f5c5SAndroid Build Coastguard Worker void *native_display, 123*8975f5c5SAndroid Build Coastguard Worker const AttributeMap &attrib_listPacked); 124*8975f5c5SAndroid Build Coastguard Worker __eglMustCastToProperFunctionPointerType GetProcAddress(Thread *thread, const char *procname); 125*8975f5c5SAndroid Build Coastguard Worker EGLBoolean GetSyncAttrib(Thread *thread, 126*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 127*8975f5c5SAndroid Build Coastguard Worker egl::SyncID syncPacked, 128*8975f5c5SAndroid Build Coastguard Worker EGLint attribute, 129*8975f5c5SAndroid Build Coastguard Worker EGLAttrib *value); 130*8975f5c5SAndroid Build Coastguard Worker EGLBoolean Initialize(Thread *thread, egl::Display *dpyPacked, EGLint *major, EGLint *minor); 131*8975f5c5SAndroid Build Coastguard Worker EGLBoolean MakeCurrent(Thread *thread, 132*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 133*8975f5c5SAndroid Build Coastguard Worker SurfaceID drawPacked, 134*8975f5c5SAndroid Build Coastguard Worker SurfaceID readPacked, 135*8975f5c5SAndroid Build Coastguard Worker gl::ContextID ctxPacked); 136*8975f5c5SAndroid Build Coastguard Worker EGLenum QueryAPI(Thread *thread); 137*8975f5c5SAndroid Build Coastguard Worker EGLBoolean QueryContext(Thread *thread, 138*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 139*8975f5c5SAndroid Build Coastguard Worker gl::ContextID ctxPacked, 140*8975f5c5SAndroid Build Coastguard Worker EGLint attribute, 141*8975f5c5SAndroid Build Coastguard Worker EGLint *value); 142*8975f5c5SAndroid Build Coastguard Worker const char *QueryString(Thread *thread, egl::Display *dpyPacked, EGLint name); 143*8975f5c5SAndroid Build Coastguard Worker EGLBoolean QuerySurface(Thread *thread, 144*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 145*8975f5c5SAndroid Build Coastguard Worker SurfaceID surfacePacked, 146*8975f5c5SAndroid Build Coastguard Worker EGLint attribute, 147*8975f5c5SAndroid Build Coastguard Worker EGLint *value); 148*8975f5c5SAndroid Build Coastguard Worker EGLBoolean ReleaseTexImage(Thread *thread, 149*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 150*8975f5c5SAndroid Build Coastguard Worker SurfaceID surfacePacked, 151*8975f5c5SAndroid Build Coastguard Worker EGLint buffer); 152*8975f5c5SAndroid Build Coastguard Worker EGLBoolean ReleaseThread(Thread *thread); 153*8975f5c5SAndroid Build Coastguard Worker EGLBoolean SurfaceAttrib(Thread *thread, 154*8975f5c5SAndroid Build Coastguard Worker egl::Display *dpyPacked, 155*8975f5c5SAndroid Build Coastguard Worker SurfaceID surfacePacked, 156*8975f5c5SAndroid Build Coastguard Worker EGLint attribute, 157*8975f5c5SAndroid Build Coastguard Worker EGLint value); 158*8975f5c5SAndroid Build Coastguard Worker EGLBoolean SwapBuffers(Thread *thread, egl::Display *dpyPacked, SurfaceID surfacePacked); 159*8975f5c5SAndroid Build Coastguard Worker EGLBoolean SwapInterval(Thread *thread, egl::Display *dpyPacked, EGLint interval); 160*8975f5c5SAndroid Build Coastguard Worker EGLBoolean Terminate(Thread *thread, egl::Display *dpyPacked); 161*8975f5c5SAndroid Build Coastguard Worker EGLBoolean WaitClient(Thread *thread); 162*8975f5c5SAndroid Build Coastguard Worker EGLBoolean WaitGL(Thread *thread); 163*8975f5c5SAndroid Build Coastguard Worker EGLBoolean WaitNative(Thread *thread, EGLint engine); 164*8975f5c5SAndroid Build Coastguard Worker EGLBoolean WaitSync(Thread *thread, egl::Display *dpyPacked, egl::SyncID syncPacked, EGLint flags); 165*8975f5c5SAndroid Build Coastguard Worker } // namespace egl 166*8975f5c5SAndroid Build Coastguard Worker #endif // LIBGLESV2_EGL_STUBS_AUTOGEN_H_ 167