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 #include "common/PackedEnums.h" 18 19 namespace gl 20 { 21 class Context; 22 } // namespace gl 23 24 namespace egl 25 { 26 class AttributeMap; 27 class Device; 28 class Display; 29 class Image; 30 class Stream; 31 class Surface; 32 class Sync; 33 class Thread; 34 struct Config; 35 36 EGLint ClientWaitSyncKHR(Thread *thread, 37 egl::Display *dpyPacked, 38 egl::SyncID syncPacked, 39 EGLint flags, 40 EGLTimeKHR timeout); 41 EGLImageKHR CreateImageKHR(Thread *thread, 42 egl::Display *dpyPacked, 43 gl::ContextID ctxPacked, 44 EGLenum target, 45 EGLClientBuffer buffer, 46 const AttributeMap &attrib_listPacked); 47 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, 48 const AttributeMap &attrib_listPacked); 49 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread, 50 egl::Display *dpyPacked, 51 egl::Config *configPacked, 52 void *native_pixmap, 53 const AttributeMap &attrib_listPacked); 54 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread, 55 egl::Display *dpyPacked, 56 egl::Config *configPacked, 57 void *native_window, 58 const AttributeMap &attrib_listPacked); 59 EGLStreamKHR CreateStreamKHR(Thread *thread, 60 egl::Display *dpyPacked, 61 const AttributeMap &attrib_listPacked); 62 EGLSyncKHR CreateSyncKHR(Thread *thread, 63 egl::Display *dpyPacked, 64 EGLenum type, 65 const AttributeMap &attrib_listPacked); 66 EGLint DebugMessageControlKHR(Thread *thread, 67 EGLDEBUGPROCKHR callback, 68 const AttributeMap &attrib_listPacked); 69 EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, ImageID imagePacked); 70 EGLBoolean DestroyStreamKHR(Thread *thread, egl::Display *dpyPacked, egl::Stream *streamPacked); 71 EGLBoolean DestroySyncKHR(Thread *thread, egl::Display *dpyPacked, egl::SyncID syncPacked); 72 EGLint DupNativeFenceFDANDROID(Thread *thread, egl::Display *dpyPacked, egl::SyncID syncPacked); 73 EGLBoolean GetMscRateANGLE(Thread *thread, 74 egl::Display *dpyPacked, 75 SurfaceID surfacePacked, 76 EGLint *numerator, 77 EGLint *denominator); 78 EGLClientBuffer GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer); 79 EGLDisplay GetPlatformDisplayEXT(Thread *thread, 80 EGLenum platform, 81 void *native_display, 82 const AttributeMap &attrib_listPacked); 83 EGLBoolean GetSyncAttribKHR(Thread *thread, 84 egl::Display *dpyPacked, 85 egl::SyncID syncPacked, 86 EGLint attribute, 87 EGLint *value); 88 EGLint LabelObjectKHR(Thread *thread, 89 egl::Display *displayPacked, 90 ObjectType objectTypePacked, 91 EGLObjectKHR object, 92 EGLLabelKHR label); 93 EGLBoolean LockSurfaceKHR(Thread *thread, 94 egl::Display *dpyPacked, 95 SurfaceID surfacePacked, 96 const AttributeMap &attrib_listPacked); 97 EGLBoolean PostSubBufferNV(Thread *thread, 98 egl::Display *dpyPacked, 99 SurfaceID surfacePacked, 100 EGLint x, 101 EGLint y, 102 EGLint width, 103 EGLint height); 104 EGLBoolean PresentationTimeANDROID(Thread *thread, 105 egl::Display *dpyPacked, 106 SurfaceID surfacePacked, 107 EGLnsecsANDROID time); 108 EGLBoolean GetCompositorTimingSupportedANDROID(Thread *thread, 109 egl::Display *dpyPacked, 110 SurfaceID surfacePacked, 111 CompositorTiming namePacked); 112 EGLBoolean GetCompositorTimingANDROID(Thread *thread, 113 egl::Display *dpyPacked, 114 SurfaceID surfacePacked, 115 EGLint numTimestamps, 116 const EGLint *names, 117 EGLnsecsANDROID *values); 118 EGLBoolean GetNextFrameIdANDROID(Thread *thread, 119 egl::Display *dpyPacked, 120 SurfaceID surfacePacked, 121 EGLuint64KHR *frameId); 122 EGLBoolean GetFrameTimestampSupportedANDROID(Thread *thread, 123 egl::Display *dpyPacked, 124 SurfaceID surfacePacked, 125 Timestamp timestampPacked); 126 EGLBoolean GetFrameTimestampsANDROID(Thread *thread, 127 egl::Display *dpyPacked, 128 SurfaceID surfacePacked, 129 EGLuint64KHR frameId, 130 EGLint numTimestamps, 131 const EGLint *timestamps, 132 EGLnsecsANDROID *values); 133 EGLBoolean QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value); 134 EGLBoolean QueryDeviceAttribEXT(Thread *thread, 135 egl::Device *devicePacked, 136 EGLint attribute, 137 EGLAttrib *value); 138 const char *QueryDeviceStringEXT(Thread *thread, egl::Device *devicePacked, EGLint name); 139 EGLBoolean QueryDisplayAttribEXT(Thread *thread, 140 egl::Display *dpyPacked, 141 EGLint attribute, 142 EGLAttrib *value); 143 EGLBoolean QueryDmaBufFormatsEXT(Thread *thread, 144 egl::Display *dpyPacked, 145 EGLint max_formats, 146 EGLint *formats, 147 EGLint *num_formats); 148 EGLBoolean QueryDmaBufModifiersEXT(Thread *thread, 149 egl::Display *dpyPacked, 150 EGLint format, 151 EGLint max_modifiers, 152 EGLuint64KHR *modifiers, 153 EGLBoolean *external_only, 154 EGLint *num_modifiers); 155 EGLBoolean QueryStreamKHR(Thread *thread, 156 egl::Display *dpyPacked, 157 egl::Stream *streamPacked, 158 EGLenum attribute, 159 EGLint *value); 160 EGLBoolean QueryStreamu64KHR(Thread *thread, 161 egl::Display *dpyPacked, 162 egl::Stream *streamPacked, 163 EGLenum attribute, 164 EGLuint64KHR *value); 165 EGLBoolean QuerySupportedCompressionRatesEXT(Thread *thread, 166 egl::Display *dpyPacked, 167 egl::Config *configPacked, 168 const EGLAttrib *attrib_list, 169 EGLint *rates, 170 EGLint rate_size, 171 EGLint *num_rates); 172 EGLBoolean QuerySurface64KHR(Thread *thread, 173 egl::Display *dpyPacked, 174 SurfaceID surfacePacked, 175 EGLint attribute, 176 EGLAttribKHR *value); 177 EGLBoolean QuerySurfacePointerANGLE(Thread *thread, 178 egl::Display *dpyPacked, 179 SurfaceID surfacePacked, 180 EGLint attribute, 181 void **value); 182 void SetBlobCacheFuncsANDROID(Thread *thread, 183 egl::Display *dpyPacked, 184 EGLSetBlobFuncANDROID set, 185 EGLGetBlobFuncANDROID get); 186 EGLBoolean SetDamageRegionKHR(Thread *thread, 187 egl::Display *dpyPacked, 188 SurfaceID surfacePacked, 189 EGLint *rects, 190 EGLint n_rects); 191 EGLBoolean SignalSyncKHR(Thread *thread, 192 egl::Display *dpyPacked, 193 egl::SyncID syncPacked, 194 EGLenum mode); 195 EGLBoolean StreamAttribKHR(Thread *thread, 196 egl::Display *dpyPacked, 197 egl::Stream *streamPacked, 198 EGLenum attribute, 199 EGLint value); 200 EGLBoolean StreamConsumerAcquireKHR(Thread *thread, 201 egl::Display *dpyPacked, 202 egl::Stream *streamPacked); 203 EGLBoolean StreamConsumerGLTextureExternalKHR(Thread *thread, 204 egl::Display *dpyPacked, 205 egl::Stream *streamPacked); 206 EGLBoolean StreamConsumerGLTextureExternalAttribsNV(Thread *thread, 207 egl::Display *dpyPacked, 208 egl::Stream *streamPacked, 209 const AttributeMap &attrib_listPacked); 210 EGLBoolean StreamConsumerReleaseKHR(Thread *thread, 211 egl::Display *dpyPacked, 212 egl::Stream *streamPacked); 213 EGLBoolean SwapBuffersWithDamageKHR(Thread *thread, 214 egl::Display *dpyPacked, 215 SurfaceID surfacePacked, 216 const EGLint *rects, 217 EGLint n_rects); 218 EGLBoolean UnlockSurfaceKHR(Thread *thread, egl::Display *dpyPacked, SurfaceID surfacePacked); 219 EGLint WaitSyncKHR(Thread *thread, egl::Display *dpyPacked, egl::SyncID syncPacked, EGLint flags); 220 EGLDeviceEXT CreateDeviceANGLE(Thread *thread, 221 EGLint device_type, 222 void *native_device, 223 const EGLAttrib *attrib_list); 224 EGLBoolean ReleaseDeviceANGLE(Thread *thread, egl::Device *devicePacked); 225 EGLBoolean CreateStreamProducerD3DTextureANGLE(Thread *thread, 226 egl::Display *dpyPacked, 227 egl::Stream *streamPacked, 228 const AttributeMap &attrib_listPacked); 229 EGLBoolean StreamPostD3DTextureANGLE(Thread *thread, 230 egl::Display *dpyPacked, 231 egl::Stream *streamPacked, 232 void *texture, 233 const AttributeMap &attrib_listPacked); 234 EGLBoolean GetSyncValuesCHROMIUM(Thread *thread, 235 egl::Display *dpyPacked, 236 SurfaceID surfacePacked, 237 EGLuint64KHR *ust, 238 EGLuint64KHR *msc, 239 EGLuint64KHR *sbc); 240 EGLint ProgramCacheGetAttribANGLE(Thread *thread, egl::Display *dpyPacked, EGLenum attrib); 241 void ProgramCacheQueryANGLE(Thread *thread, 242 egl::Display *dpyPacked, 243 EGLint index, 244 void *key, 245 EGLint *keysize, 246 void *binary, 247 EGLint *binarysize); 248 void ProgramCachePopulateANGLE(Thread *thread, 249 egl::Display *dpyPacked, 250 const void *key, 251 EGLint keysize, 252 const void *binary, 253 EGLint binarysize); 254 EGLint ProgramCacheResizeANGLE(Thread *thread, egl::Display *dpyPacked, EGLint limit, EGLint mode); 255 const char *QueryStringiANGLE(Thread *thread, egl::Display *dpyPacked, EGLint name, EGLint index); 256 void AcquireExternalContextANGLE(Thread *thread, 257 egl::Display *dpyPacked, 258 SurfaceID drawAndReadPacked); 259 void ReleaseExternalContextANGLE(Thread *thread, egl::Display *dpyPacked); 260 void LockVulkanQueueANGLE(Thread *thread, egl::Display *dpyPacked); 261 void UnlockVulkanQueueANGLE(Thread *thread, egl::Display *dpyPacked); 262 EGLBoolean PrepareSwapBuffersANGLE(Thread *thread, 263 egl::Display *dpyPacked, 264 SurfaceID surfacePacked); 265 void ReleaseHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::ContextID ctxPacked); 266 void ReacquireHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::ContextID ctxPacked); 267 void HandleGPUSwitchANGLE(Thread *thread, egl::Display *dpyPacked); 268 void ForceGPUSwitchANGLE(Thread *thread, 269 egl::Display *dpyPacked, 270 EGLint gpuIDHigh, 271 EGLint gpuIDLow); 272 EGLBoolean QueryDisplayAttribANGLE(Thread *thread, 273 egl::Display *dpyPacked, 274 EGLint attribute, 275 EGLAttrib *value); 276 EGLBoolean ExportVkImageANGLE(Thread *thread, 277 egl::Display *dpyPacked, 278 ImageID imagePacked, 279 void *vk_image, 280 void *vk_image_create_info); 281 void *CopyMetalSharedEventANGLE(Thread *thread, egl::Display *dpyPacked, egl::SyncID syncPacked); 282 void WaitUntilWorkScheduledANGLE(Thread *thread, egl::Display *dpyPacked); 283 void SetValidationEnabledANGLE(Thread *thread, EGLBoolean validationState); 284 } // namespace egl 285 #endif // LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_ 286