egl_ext_stubs_autogen.h (14037B)
1 // GENERATED FILE - DO NOT EDIT. 2 // Generated by generate_entry_points.py using data from egl.xml and egl_angle_ext.xml. 3 // 4 // Copyright 2020 The ANGLE Project Authors. All rights reserved. 5 // Use of this source code is governed by a BSD-style license that can be 6 // found in the LICENSE file. 7 // 8 // egl_ext_stubs_autogen.h: Stubs for EXT extension entry points. 9 10 #ifndef LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_ 11 #define LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_ 12 13 #include <EGL/egl.h> 14 #include <EGL/eglext.h> 15 16 #include "common/PackedEGLEnums_autogen.h" 17 18 namespace gl 19 { 20 class Context; 21 } // namespace gl 22 23 namespace egl 24 { 25 class AttributeMap; 26 class Device; 27 class Display; 28 class Image; 29 class Stream; 30 class Surface; 31 class Sync; 32 class Thread; 33 struct Config; 34 35 EGLint ClientWaitSyncKHR(Thread *thread, 36 egl::Display *dpyPacked, 37 Sync *syncPacked, 38 EGLint flags, 39 EGLTimeKHR timeout); 40 EGLImageKHR CreateImageKHR(Thread *thread, 41 egl::Display *dpyPacked, 42 gl::Context *ctxPacked, 43 EGLenum target, 44 EGLClientBuffer buffer, 45 const AttributeMap &attrib_listPacked); 46 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, 47 const AttributeMap &attrib_listPacked); 48 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread, 49 egl::Display *dpyPacked, 50 Config *configPacked, 51 void *native_pixmap, 52 const AttributeMap &attrib_listPacked); 53 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread, 54 egl::Display *dpyPacked, 55 Config *configPacked, 56 void *native_window, 57 const AttributeMap &attrib_listPacked); 58 EGLStreamKHR CreateStreamKHR(Thread *thread, 59 egl::Display *dpyPacked, 60 const AttributeMap &attrib_listPacked); 61 EGLSyncKHR CreateSyncKHR(Thread *thread, 62 egl::Display *dpyPacked, 63 EGLenum type, 64 const AttributeMap &attrib_listPacked); 65 EGLint DebugMessageControlKHR(Thread *thread, 66 EGLDEBUGPROCKHR callback, 67 const AttributeMap &attrib_listPacked); 68 EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, Image *imagePacked); 69 EGLBoolean DestroyStreamKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked); 70 EGLBoolean DestroySyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked); 71 EGLint DupNativeFenceFDANDROID(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked); 72 EGLBoolean GetMscRateANGLE(Thread *thread, 73 egl::Display *dpyPacked, 74 Surface *surfacePacked, 75 EGLint *numerator, 76 EGLint *denominator); 77 EGLClientBuffer GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer); 78 EGLDisplay GetPlatformDisplayEXT(Thread *thread, 79 EGLenum platform, 80 void *native_display, 81 const AttributeMap &attrib_listPacked); 82 EGLBoolean GetSyncAttribKHR(Thread *thread, 83 egl::Display *dpyPacked, 84 Sync *syncPacked, 85 EGLint attribute, 86 EGLint *value); 87 EGLint LabelObjectKHR(Thread *thread, 88 egl::Display *displayPacked, 89 ObjectType objectTypePacked, 90 EGLObjectKHR object, 91 EGLLabelKHR label); 92 EGLBoolean LockSurfaceKHR(Thread *thread, 93 egl::Display *dpyPacked, 94 Surface *surfacePacked, 95 const AttributeMap &attrib_listPacked); 96 EGLBoolean PostSubBufferNV(Thread *thread, 97 egl::Display *dpyPacked, 98 Surface *surfacePacked, 99 EGLint x, 100 EGLint y, 101 EGLint width, 102 EGLint height); 103 EGLBoolean PresentationTimeANDROID(Thread *thread, 104 egl::Display *dpyPacked, 105 Surface *surfacePacked, 106 EGLnsecsANDROID time); 107 EGLBoolean GetCompositorTimingSupportedANDROID(Thread *thread, 108 egl::Display *dpyPacked, 109 Surface *surfacePacked, 110 CompositorTiming namePacked); 111 EGLBoolean GetCompositorTimingANDROID(Thread *thread, 112 egl::Display *dpyPacked, 113 Surface *surfacePacked, 114 EGLint numTimestamps, 115 const EGLint *names, 116 EGLnsecsANDROID *values); 117 EGLBoolean GetNextFrameIdANDROID(Thread *thread, 118 egl::Display *dpyPacked, 119 Surface *surfacePacked, 120 EGLuint64KHR *frameId); 121 EGLBoolean GetFrameTimestampSupportedANDROID(Thread *thread, 122 egl::Display *dpyPacked, 123 Surface *surfacePacked, 124 Timestamp timestampPacked); 125 EGLBoolean GetFrameTimestampsANDROID(Thread *thread, 126 egl::Display *dpyPacked, 127 Surface *surfacePacked, 128 EGLuint64KHR frameId, 129 EGLint numTimestamps, 130 const EGLint *timestamps, 131 EGLnsecsANDROID *values); 132 EGLBoolean QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value); 133 EGLBoolean QueryDeviceAttribEXT(Thread *thread, 134 Device *devicePacked, 135 EGLint attribute, 136 EGLAttrib *value); 137 const char *QueryDeviceStringEXT(Thread *thread, Device *devicePacked, EGLint name); 138 EGLBoolean QueryDisplayAttribEXT(Thread *thread, 139 egl::Display *dpyPacked, 140 EGLint attribute, 141 EGLAttrib *value); 142 EGLBoolean QueryDmaBufFormatsEXT(Thread *thread, 143 egl::Display *dpyPacked, 144 EGLint max_formats, 145 EGLint *formats, 146 EGLint *num_formats); 147 EGLBoolean QueryDmaBufModifiersEXT(Thread *thread, 148 egl::Display *dpyPacked, 149 EGLint format, 150 EGLint max_modifiers, 151 EGLuint64KHR *modifiers, 152 EGLBoolean *external_only, 153 EGLint *num_modifiers); 154 EGLBoolean QueryStreamKHR(Thread *thread, 155 egl::Display *dpyPacked, 156 Stream *streamPacked, 157 EGLenum attribute, 158 EGLint *value); 159 EGLBoolean QueryStreamu64KHR(Thread *thread, 160 egl::Display *dpyPacked, 161 Stream *streamPacked, 162 EGLenum attribute, 163 EGLuint64KHR *value); 164 EGLBoolean QuerySurface64KHR(Thread *thread, 165 egl::Display *dpyPacked, 166 Surface *surfacePacked, 167 EGLint attribute, 168 EGLAttribKHR *value); 169 EGLBoolean QuerySurfacePointerANGLE(Thread *thread, 170 egl::Display *dpyPacked, 171 Surface *surfacePacked, 172 EGLint attribute, 173 void **value); 174 void SetBlobCacheFuncsANDROID(Thread *thread, 175 egl::Display *dpyPacked, 176 EGLSetBlobFuncANDROID set, 177 EGLGetBlobFuncANDROID get); 178 EGLBoolean SetDamageRegionKHR(Thread *thread, 179 egl::Display *dpyPacked, 180 Surface *surfacePacked, 181 EGLint *rects, 182 EGLint n_rects); 183 EGLBoolean SignalSyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLenum mode); 184 EGLBoolean StreamAttribKHR(Thread *thread, 185 egl::Display *dpyPacked, 186 Stream *streamPacked, 187 EGLenum attribute, 188 EGLint value); 189 EGLBoolean StreamConsumerAcquireKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked); 190 EGLBoolean StreamConsumerGLTextureExternalKHR(Thread *thread, 191 egl::Display *dpyPacked, 192 Stream *streamPacked); 193 EGLBoolean StreamConsumerGLTextureExternalAttribsNV(Thread *thread, 194 egl::Display *dpyPacked, 195 Stream *streamPacked, 196 const AttributeMap &attrib_listPacked); 197 EGLBoolean StreamConsumerReleaseKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked); 198 EGLBoolean SwapBuffersWithDamageKHR(Thread *thread, 199 egl::Display *dpyPacked, 200 Surface *surfacePacked, 201 const EGLint *rects, 202 EGLint n_rects); 203 EGLBoolean UnlockSurfaceKHR(Thread *thread, egl::Display *dpyPacked, Surface *surfacePacked); 204 EGLint WaitSyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLint flags); 205 EGLDeviceEXT CreateDeviceANGLE(Thread *thread, 206 EGLint device_type, 207 void *native_device, 208 const EGLAttrib *attrib_list); 209 EGLBoolean ReleaseDeviceANGLE(Thread *thread, Device *devicePacked); 210 EGLBoolean CreateStreamProducerD3DTextureANGLE(Thread *thread, 211 egl::Display *dpyPacked, 212 Stream *streamPacked, 213 const AttributeMap &attrib_listPacked); 214 EGLBoolean StreamPostD3DTextureANGLE(Thread *thread, 215 egl::Display *dpyPacked, 216 Stream *streamPacked, 217 void *texture, 218 const AttributeMap &attrib_listPacked); 219 EGLBoolean GetSyncValuesCHROMIUM(Thread *thread, 220 egl::Display *dpyPacked, 221 Surface *surfacePacked, 222 EGLuint64KHR *ust, 223 EGLuint64KHR *msc, 224 EGLuint64KHR *sbc); 225 EGLint ProgramCacheGetAttribANGLE(Thread *thread, egl::Display *dpyPacked, EGLenum attrib); 226 void ProgramCacheQueryANGLE(Thread *thread, 227 egl::Display *dpyPacked, 228 EGLint index, 229 void *key, 230 EGLint *keysize, 231 void *binary, 232 EGLint *binarysize); 233 void ProgramCachePopulateANGLE(Thread *thread, 234 egl::Display *dpyPacked, 235 const void *key, 236 EGLint keysize, 237 const void *binary, 238 EGLint binarysize); 239 EGLint ProgramCacheResizeANGLE(Thread *thread, egl::Display *dpyPacked, EGLint limit, EGLint mode); 240 const char *QueryStringiANGLE(Thread *thread, egl::Display *dpyPacked, EGLint name, EGLint index); 241 EGLBoolean SwapBuffersWithFrameTokenANGLE(Thread *thread, 242 egl::Display *dpyPacked, 243 Surface *surfacePacked, 244 EGLFrameTokenANGLE frametoken); 245 EGLBoolean PrepareSwapBuffersANGLE(EGLDisplay dpy, EGLSurface surface); 246 void ReleaseHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked); 247 void ReacquireHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked); 248 void HandleGPUSwitchANGLE(Thread *thread, egl::Display *dpyPacked); 249 void ForceGPUSwitchANGLE(Thread *thread, 250 egl::Display *dpyPacked, 251 EGLint gpuIDHigh, 252 EGLint gpuIDLow); 253 EGLBoolean QueryDisplayAttribANGLE(Thread *thread, 254 egl::Display *dpyPacked, 255 EGLint attribute, 256 EGLAttrib *value); 257 EGLBoolean ExportVkImageANGLE(Thread *thread, 258 egl::Display *dpyPacked, 259 Image *imagePacked, 260 void *vk_image, 261 void *vk_image_create_info); 262 void *CopyMetalSharedEventANGLE(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked); 263 } // namespace egl 264 #endif // LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_