• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 EGLClientBuffer GetNativeClientBufferANDROID(Thread *thread, const struct AHardwareBuffer *buffer);
73 EGLDisplay GetPlatformDisplayEXT(Thread *thread,
74                                  EGLenum platform,
75                                  void *native_display,
76                                  const AttributeMap &attrib_listPacked);
77 EGLBoolean GetSyncAttribKHR(Thread *thread,
78                             egl::Display *dpyPacked,
79                             Sync *syncPacked,
80                             EGLint attribute,
81                             EGLint *value);
82 EGLint LabelObjectKHR(Thread *thread,
83                       egl::Display *displayPacked,
84                       ObjectType objectTypePacked,
85                       EGLObjectKHR object,
86                       EGLLabelKHR label);
87 EGLBoolean LockSurfaceKHR(Thread *thread,
88                           egl::Display *dpyPacked,
89                           Surface *surfacePacked,
90                           const AttributeMap &attrib_listPacked);
91 EGLBoolean PostSubBufferNV(Thread *thread,
92                            egl::Display *dpyPacked,
93                            Surface *surfacePacked,
94                            EGLint x,
95                            EGLint y,
96                            EGLint width,
97                            EGLint height);
98 EGLBoolean PresentationTimeANDROID(Thread *thread,
99                                    egl::Display *dpyPacked,
100                                    Surface *surfacePacked,
101                                    EGLnsecsANDROID time);
102 EGLBoolean GetCompositorTimingSupportedANDROID(Thread *thread,
103                                                egl::Display *dpyPacked,
104                                                Surface *surfacePacked,
105                                                CompositorTiming namePacked);
106 EGLBoolean GetCompositorTimingANDROID(Thread *thread,
107                                       egl::Display *dpyPacked,
108                                       Surface *surfacePacked,
109                                       EGLint numTimestamps,
110                                       const EGLint *names,
111                                       EGLnsecsANDROID *values);
112 EGLBoolean GetNextFrameIdANDROID(Thread *thread,
113                                  egl::Display *dpyPacked,
114                                  Surface *surfacePacked,
115                                  EGLuint64KHR *frameId);
116 EGLBoolean GetFrameTimestampSupportedANDROID(Thread *thread,
117                                              egl::Display *dpyPacked,
118                                              Surface *surfacePacked,
119                                              Timestamp timestampPacked);
120 EGLBoolean GetFrameTimestampsANDROID(Thread *thread,
121                                      egl::Display *dpyPacked,
122                                      Surface *surfacePacked,
123                                      EGLuint64KHR frameId,
124                                      EGLint numTimestamps,
125                                      const EGLint *timestamps,
126                                      EGLnsecsANDROID *values);
127 EGLBoolean QueryDebugKHR(Thread *thread, EGLint attribute, EGLAttrib *value);
128 EGLBoolean QueryDeviceAttribEXT(Thread *thread,
129                                 Device *devicePacked,
130                                 EGLint attribute,
131                                 EGLAttrib *value);
132 const char *QueryDeviceStringEXT(Thread *thread, Device *devicePacked, EGLint name);
133 EGLBoolean QueryDisplayAttribEXT(Thread *thread,
134                                  egl::Display *dpyPacked,
135                                  EGLint attribute,
136                                  EGLAttrib *value);
137 EGLBoolean QueryStreamKHR(Thread *thread,
138                           egl::Display *dpyPacked,
139                           Stream *streamPacked,
140                           EGLenum attribute,
141                           EGLint *value);
142 EGLBoolean QueryStreamu64KHR(Thread *thread,
143                              egl::Display *dpyPacked,
144                              Stream *streamPacked,
145                              EGLenum attribute,
146                              EGLuint64KHR *value);
147 EGLBoolean QuerySurface64KHR(Thread *thread,
148                              egl::Display *dpyPacked,
149                              Surface *surfacePacked,
150                              EGLint attribute,
151                              EGLAttribKHR *value);
152 EGLBoolean QuerySurfacePointerANGLE(Thread *thread,
153                                     egl::Display *dpyPacked,
154                                     Surface *surfacePacked,
155                                     EGLint attribute,
156                                     void **value);
157 void SetBlobCacheFuncsANDROID(Thread *thread,
158                               egl::Display *dpyPacked,
159                               EGLSetBlobFuncANDROID set,
160                               EGLGetBlobFuncANDROID get);
161 EGLBoolean SignalSyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLenum mode);
162 EGLBoolean StreamAttribKHR(Thread *thread,
163                            egl::Display *dpyPacked,
164                            Stream *streamPacked,
165                            EGLenum attribute,
166                            EGLint value);
167 EGLBoolean StreamConsumerAcquireKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked);
168 EGLBoolean StreamConsumerGLTextureExternalKHR(Thread *thread,
169                                               egl::Display *dpyPacked,
170                                               Stream *streamPacked);
171 EGLBoolean StreamConsumerGLTextureExternalAttribsNV(Thread *thread,
172                                                     egl::Display *dpyPacked,
173                                                     Stream *streamPacked,
174                                                     const AttributeMap &attrib_listPacked);
175 EGLBoolean StreamConsumerReleaseKHR(Thread *thread, egl::Display *dpyPacked, Stream *streamPacked);
176 EGLBoolean SwapBuffersWithDamageKHR(Thread *thread,
177                                     egl::Display *dpyPacked,
178                                     Surface *surfacePacked,
179                                     const EGLint *rects,
180                                     EGLint n_rects);
181 EGLBoolean UnlockSurfaceKHR(Thread *thread, egl::Display *dpyPacked, Surface *surfacePacked);
182 EGLint WaitSyncKHR(Thread *thread, egl::Display *dpyPacked, Sync *syncPacked, EGLint flags);
183 EGLDeviceEXT CreateDeviceANGLE(Thread *thread,
184                                EGLint device_type,
185                                void *native_device,
186                                const EGLAttrib *attrib_list);
187 EGLBoolean ReleaseDeviceANGLE(Thread *thread, Device *devicePacked);
188 EGLBoolean CreateStreamProducerD3DTextureANGLE(Thread *thread,
189                                                egl::Display *dpyPacked,
190                                                Stream *streamPacked,
191                                                const AttributeMap &attrib_listPacked);
192 EGLBoolean StreamPostD3DTextureANGLE(Thread *thread,
193                                      egl::Display *dpyPacked,
194                                      Stream *streamPacked,
195                                      void *texture,
196                                      const AttributeMap &attrib_listPacked);
197 EGLBoolean GetMscRateANGLE(Thread *thread,
198                            egl::Display *dpyPacked,
199                            Surface *surfacePacked,
200                            EGLint *numerator,
201                            EGLint *denominator);
202 EGLBoolean GetSyncValuesCHROMIUM(Thread *thread,
203                                  egl::Display *dpyPacked,
204                                  Surface *surfacePacked,
205                                  EGLuint64KHR *ust,
206                                  EGLuint64KHR *msc,
207                                  EGLuint64KHR *sbc);
208 EGLint ProgramCacheGetAttribANGLE(Thread *thread, egl::Display *dpyPacked, EGLenum attrib);
209 void ProgramCacheQueryANGLE(Thread *thread,
210                             egl::Display *dpyPacked,
211                             EGLint index,
212                             void *key,
213                             EGLint *keysize,
214                             void *binary,
215                             EGLint *binarysize);
216 void ProgramCachePopulateANGLE(Thread *thread,
217                                egl::Display *dpyPacked,
218                                const void *key,
219                                EGLint keysize,
220                                const void *binary,
221                                EGLint binarysize);
222 EGLint ProgramCacheResizeANGLE(Thread *thread, egl::Display *dpyPacked, EGLint limit, EGLint mode);
223 const char *QueryStringiANGLE(Thread *thread, egl::Display *dpyPacked, EGLint name, EGLint index);
224 EGLBoolean SwapBuffersWithFrameTokenANGLE(Thread *thread,
225                                           egl::Display *dpyPacked,
226                                           Surface *surfacePacked,
227                                           EGLFrameTokenANGLE frametoken);
228 void ReleaseHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked);
229 void ReacquireHighPowerGPUANGLE(Thread *thread, egl::Display *dpyPacked, gl::Context *ctxPacked);
230 void HandleGPUSwitchANGLE(Thread *thread, egl::Display *dpyPacked);
231 EGLBoolean QueryDisplayAttribANGLE(Thread *thread,
232                                    egl::Display *dpyPacked,
233                                    EGLint attribute,
234                                    EGLAttrib *value);
235 EGLBoolean ExportVkImageANGLE(Thread *thread,
236                               egl::Display *dpyPacked,
237                               Image *imagePacked,
238                               void *vk_image,
239                               void *vk_image_create_info);
240 }  // namespace egl
241 #endif  // LIBGLESV2_EGL_EXT_STUBS_AUTOGEN_H_
242