Adjust the position of the partial Frame
[platform/framework/native/uifw.git] / inc / egl.h
1 /* $Change: 1028567 $ */
2 /* -*- mode: c; tab-width: 8; -*- */
3 /* vi: set sw=4 ts=8: */
4 /* Reference version of egl.h for EGL 1.4.
5  * $Revision: #1 $ on $Date: 2011/08/12 $
6  */
7
8 /*
9 ** Copyright (c) 2007-2009 The Khronos Group Inc.
10 **
11 ** Permission is hereby granted, free of charge, to any person obtaining a
12 ** copy of this software and/or associated documentation files (the
13 ** "Materials"), to deal in the Materials without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Materials, and to
16 ** permit persons to whom the Materials are furnished to do so, subject to
17 ** the following conditions:
18 **
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
21 **
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29 */
30
31 /**
32  * @file                egl.h
33  * @brief               This is the header file for the EGL.
34  *
35  * This header file contains the declarations of the EGL.
36  */
37
38 #ifndef __egl_h_
39 #define __egl_h_
40
41 /* All platform-dependent types and macro boilerplate (such as EGLAPI
42  * and EGLAPIENTRY) should go in eglplatform.h.
43  */
44 #include "eglplatform.h"
45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 /**
51  * @addtogroup opengles
52  *
53  * @{
54  */
55
56 /* EGL Types */
57 /* EGLint is defined in eglplatform.h */
58
59 /*! \var typedef unsigned int EGLBoolean
60     \brief A type definition for EGLBoolean.
61 */
62 typedef unsigned int EGLBoolean;
63
64 /*! \var typedef unsigned int EGLenum
65     \brief A type definition for EGLenum.
66 */
67 typedef unsigned int EGLenum;
68
69 /*! \var typedef void *EGLConfig
70     \brief A type definition for EGLConfig.
71 */
72 typedef void* EGLConfig;
73
74 /*! \var typedef void *EGLContext
75     \brief A type definition for EGLContext.
76 */
77 typedef void* EGLContext;
78
79 /*! \var typedef void *EGLDisplay
80     \brief A type definition for EGLDisplay.
81 */
82 typedef void* EGLDisplay;
83
84 /*! \var typedef void *EGLSurface
85     \brief A type definition for EGLSurface.
86 */
87 typedef void* EGLSurface;
88
89 /*! \var typedef void *EGLClientBuffer
90     \brief A type definition for EGLClientBuffer.
91 */
92 typedef void* EGLClientBuffer;
93
94 /* EGL Versioning */
95 #define EGL_VERSION_1_0         1
96 #define EGL_VERSION_1_1         1
97 #define EGL_VERSION_1_2         1
98 #define EGL_VERSION_1_3         1
99 #define EGL_VERSION_1_4         1
100
101 /* EGL Enumerants. Bitmasks and other exceptional cases aside, most
102  * enums are assigned unique values starting at 0x3000.
103  */
104
105 /* EGL aliases */
106 #define EGL_FALSE           0
107 #define EGL_TRUE            1
108
109 /* Out-of-band handle values */
110 #define EGL_DEFAULT_DISPLAY     ((EGLNativeDisplayType) 0)
111 #define EGL_NO_CONTEXT          ((EGLContext) 0)
112 #define EGL_NO_DISPLAY          ((EGLDisplay) 0)
113 #define EGL_NO_SURFACE          ((EGLSurface) 0)
114
115 /* Out-of-band attribute value */
116 #define EGL_DONT_CARE           ((EGLint) - 1)
117
118 /* Errors / GetError return values */
119 #define EGL_SUCCESS         0x3000
120 #define EGL_NOT_INITIALIZED     0x3001
121 #define EGL_BAD_ACCESS          0x3002
122 #define EGL_BAD_ALLOC           0x3003
123 #define EGL_BAD_ATTRIBUTE       0x3004
124 #define EGL_BAD_CONFIG          0x3005
125 #define EGL_BAD_CONTEXT         0x3006
126 #define EGL_BAD_CURRENT_SURFACE     0x3007
127 #define EGL_BAD_DISPLAY         0x3008
128 #define EGL_BAD_MATCH           0x3009
129 #define EGL_BAD_NATIVE_PIXMAP       0x300A
130 #define EGL_BAD_NATIVE_WINDOW       0x300B
131 #define EGL_BAD_PARAMETER       0x300C
132 #define EGL_BAD_SURFACE         0x300D
133 #define EGL_CONTEXT_LOST        0x300E  /* EGL 1.1 - IMG_power_management */
134
135 /* Reserved 0x300F-0x301F for additional errors */
136
137 /* Config attributes */
138 #define EGL_BUFFER_SIZE         0x3020
139 #define EGL_ALPHA_SIZE          0x3021
140 #define EGL_BLUE_SIZE           0x3022
141 #define EGL_GREEN_SIZE          0x3023
142 #define EGL_RED_SIZE            0x3024
143 #define EGL_DEPTH_SIZE          0x3025
144 #define EGL_STENCIL_SIZE        0x3026
145 #define EGL_CONFIG_CAVEAT       0x3027
146 #define EGL_CONFIG_ID           0x3028
147 #define EGL_LEVEL           0x3029
148 #define EGL_MAX_PBUFFER_HEIGHT      0x302A
149 #define EGL_MAX_PBUFFER_PIXELS      0x302B
150 #define EGL_MAX_PBUFFER_WIDTH       0x302C
151 #define EGL_NATIVE_RENDERABLE       0x302D
152 #define EGL_NATIVE_VISUAL_ID        0x302E
153 #define EGL_NATIVE_VISUAL_TYPE      0x302F
154 #define EGL_PRESERVED_RESOURCES     0x3030
155 #define EGL_SAMPLES         0x3031
156 #define EGL_SAMPLE_BUFFERS      0x3032
157 #define EGL_SURFACE_TYPE        0x3033
158 #define EGL_TRANSPARENT_TYPE        0x3034
159 #define EGL_TRANSPARENT_BLUE_VALUE  0x3035
160 #define EGL_TRANSPARENT_GREEN_VALUE 0x3036
161 #define EGL_TRANSPARENT_RED_VALUE   0x3037
162 #define EGL_NONE            0x3038  /* Attrib list terminator */
163 #define EGL_BIND_TO_TEXTURE_RGB     0x3039
164 #define EGL_BIND_TO_TEXTURE_RGBA    0x303A
165 #define EGL_MIN_SWAP_INTERVAL       0x303B
166 #define EGL_MAX_SWAP_INTERVAL       0x303C
167 #define EGL_LUMINANCE_SIZE      0x303D
168 #define EGL_ALPHA_MASK_SIZE     0x303E
169 #define EGL_COLOR_BUFFER_TYPE       0x303F
170 #define EGL_RENDERABLE_TYPE     0x3040
171 #define EGL_MATCH_NATIVE_PIXMAP     0x3041  /* Pseudo-attribute (not queryable) */
172 #define EGL_CONFORMANT          0x3042
173
174 /* Reserved 0x3041-0x304F for additional config attributes */
175
176 /* Config attribute values */
177 #define EGL_SLOW_CONFIG         0x3050  /* EGL_CONFIG_CAVEAT value */
178 #define EGL_NON_CONFORMANT_CONFIG   0x3051  /* EGL_CONFIG_CAVEAT value */
179 #define EGL_TRANSPARENT_RGB     0x3052  /* EGL_TRANSPARENT_TYPE value */
180 #define EGL_RGB_BUFFER          0x308E  /* EGL_COLOR_BUFFER_TYPE value */
181 #define EGL_LUMINANCE_BUFFER        0x308F  /* EGL_COLOR_BUFFER_TYPE value */
182
183 /* More config attribute values, for EGL_TEXTURE_FORMAT */
184 #define EGL_NO_TEXTURE          0x305C
185 #define EGL_TEXTURE_RGB         0x305D
186 #define EGL_TEXTURE_RGBA        0x305E
187 #define EGL_TEXTURE_2D          0x305F
188
189 /* Config attribute mask bits */
190 #define EGL_PBUFFER_BIT         0x0001  /* EGL_SURFACE_TYPE mask bits */
191 #define EGL_PIXMAP_BIT          0x0002  /* EGL_SURFACE_TYPE mask bits */
192 #define EGL_WINDOW_BIT          0x0004  /* EGL_SURFACE_TYPE mask bits */
193 #define EGL_VG_COLORSPACE_LINEAR_BIT    0x0020  /* EGL_SURFACE_TYPE mask bits */
194 #define EGL_VG_ALPHA_FORMAT_PRE_BIT 0x0040  /* EGL_SURFACE_TYPE mask bits */
195 #define EGL_MULTISAMPLE_RESOLVE_BOX_BIT 0x0200  /* EGL_SURFACE_TYPE mask bits */
196 #define EGL_SWAP_BEHAVIOR_PRESERVED_BIT 0x0400  /* EGL_SURFACE_TYPE mask bits */
197
198 #define EGL_OPENGL_ES_BIT       0x0001  /* EGL_RENDERABLE_TYPE mask bits */
199 #define EGL_OPENVG_BIT          0x0002  /* EGL_RENDERABLE_TYPE mask bits */
200 #define EGL_OPENGL_ES2_BIT      0x0004  /* EGL_RENDERABLE_TYPE mask bits */
201 #define EGL_OPENGL_BIT          0x0008  /* EGL_RENDERABLE_TYPE mask bits */
202
203 /* QueryString targets */
204 #define EGL_VENDOR          0x3053
205 #define EGL_VERSION         0x3054
206 #define EGL_EXTENSIONS          0x3055
207 #define EGL_CLIENT_APIS         0x308D
208
209 /* QuerySurface / SurfaceAttrib / CreatePbufferSurface targets */
210 #define EGL_HEIGHT          0x3056
211 #define EGL_WIDTH           0x3057
212 #define EGL_LARGEST_PBUFFER     0x3058
213 #define EGL_TEXTURE_FORMAT      0x3080
214 #define EGL_TEXTURE_TARGET      0x3081
215 #define EGL_MIPMAP_TEXTURE      0x3082
216 #define EGL_MIPMAP_LEVEL        0x3083
217 #define EGL_RENDER_BUFFER       0x3086
218 #define EGL_VG_COLORSPACE       0x3087
219 #define EGL_VG_ALPHA_FORMAT     0x3088
220 #define EGL_HORIZONTAL_RESOLUTION   0x3090
221 #define EGL_VERTICAL_RESOLUTION     0x3091
222 #define EGL_PIXEL_ASPECT_RATIO      0x3092
223 #define EGL_SWAP_BEHAVIOR       0x3093
224 #define EGL_MULTISAMPLE_RESOLVE     0x3099
225
226 /* EGL_RENDER_BUFFER values / BindTexImage / ReleaseTexImage buffer targets */
227 #define EGL_BACK_BUFFER         0x3084
228 #define EGL_SINGLE_BUFFER       0x3085
229
230 /* OpenVG color spaces */
231 #define EGL_VG_COLORSPACE_sRGB      0x3089  /* EGL_VG_COLORSPACE value */
232 #define EGL_VG_COLORSPACE_LINEAR    0x308A  /* EGL_VG_COLORSPACE value */
233
234 /* OpenVG alpha formats */
235 #define EGL_VG_ALPHA_FORMAT_NONPRE  0x308B  /* EGL_ALPHA_FORMAT value */
236 #define EGL_VG_ALPHA_FORMAT_PRE     0x308C  /* EGL_ALPHA_FORMAT value */
237
238 /* Constant scale factor by which fractional display resolutions &
239  * aspect ratio are scaled when queried as integer values.
240  */
241 #define EGL_DISPLAY_SCALING     10000
242
243 /* Unknown display resolution/aspect ratio */
244 #define EGL_UNKNOWN         ((EGLint) - 1)
245
246 /* Back buffer swap behaviors */
247 #define EGL_BUFFER_PRESERVED        0x3094  /* EGL_SWAP_BEHAVIOR value */
248 #define EGL_BUFFER_DESTROYED        0x3095  /* EGL_SWAP_BEHAVIOR value */
249
250 /* CreatePbufferFromClientBuffer buffer types */
251 #define EGL_OPENVG_IMAGE        0x3096
252
253 /* QueryContext targets */
254 #define EGL_CONTEXT_CLIENT_TYPE     0x3097
255
256 /* CreateContext attributes */
257 #define EGL_CONTEXT_CLIENT_VERSION  0x3098
258
259 /* Multisample resolution behaviors */
260 #define EGL_MULTISAMPLE_RESOLVE_DEFAULT 0x309A  /* EGL_MULTISAMPLE_RESOLVE value */
261 #define EGL_MULTISAMPLE_RESOLVE_BOX 0x309B  /* EGL_MULTISAMPLE_RESOLVE value */
262
263 /* BindAPI/QueryAPI targets */
264 #define EGL_OPENGL_ES_API       0x30A0
265 #define EGL_OPENVG_API          0x30A1
266 #define EGL_OPENGL_API          0x30A2
267
268 /* GetCurrentSurface targets */
269 #define EGL_DRAW            0x3059
270 #define EGL_READ            0x305A
271
272 /* WaitNative engines */
273 #define EGL_CORE_NATIVE_ENGINE      0x305B
274
275 /* EGL 1.2 tokens renamed for consistency in EGL 1.3 */
276 #define EGL_COLORSPACE          EGL_VG_COLORSPACE
277 #define EGL_ALPHA_FORMAT        EGL_VG_ALPHA_FORMAT
278 #define EGL_COLORSPACE_sRGB     EGL_VG_COLORSPACE_sRGB
279 #define EGL_COLORSPACE_LINEAR       EGL_VG_COLORSPACE_LINEAR
280 #define EGL_ALPHA_FORMAT_NONPRE     EGL_VG_ALPHA_FORMAT_NONPRE
281 #define EGL_ALPHA_FORMAT_PRE        EGL_VG_ALPHA_FORMAT_PRE
282
283 /* EGL extensions must request enum blocks from the Khronos
284  * API Registrar, who maintains the enumerant registry. Submit
285  * a bug in Khronos Bugzilla against task "Registry".
286  */
287
288 /*
289 ** FIXME: The EGL_SEQUENCE_ITEM_SYMB token is temporary until an
290 ** official name and value are assigned.
291 */
292 #define EGL_SEQUENCE_ITEM_SYMB      0x6000
293
294 /* EGL Functions */
295
296 /**
297  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
298  *
299  * @since       2.0
300  */
301 EGLint eglGetError(void);
302
303 /**
304  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
305  *
306  * @since       2.0
307  */
308 EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id);
309
310 /**
311  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
312  *
313  * @since       2.0
314  */
315 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint* major, EGLint* minor);
316
317 /**
318  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
319  *
320  * @since       2.0
321  */
322 EGLBoolean eglTerminate(EGLDisplay dpy);
323
324 /**
325  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
326  *
327  * @since       2.0
328  */
329 const char* eglQueryString(EGLDisplay dpy, EGLint name);
330
331 /**
332  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
333  *
334  * @since       2.0
335  */
336 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig* configs, EGLint config_size, EGLint* num_config);
337
338 /**
339  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
340  *
341  * @since       2.0
342  */
343 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint* attrib_list, EGLConfig* configs, EGLint config_size, EGLint* num_config);
344
345 /**
346  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
347  *
348  * @since       2.0
349  */
350 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint* value);
351
352 /**
353  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
354  *
355  * @since       2.0
356  */
357 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint* attrib_list);
358
359 /**
360  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
361  *
362  * @since       2.0
363  */
364 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list);
365
366 /**
367  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
368  *
369  * @since       2.0
370  */
371 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint* attrib_list);
372
373 /**
374  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
375  *
376  * @since       2.0
377  */
378 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface);
379
380 /**
381  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
382  *
383  * @since       2.0
384  */
385 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint* value);
386
387 /**
388  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
389  *
390  * @since       2.0
391  */
392 EGLBoolean eglBindAPI(EGLenum api);
393
394 /**
395  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
396  *
397  * @since       2.0
398  */
399 EGLenum eglQueryAPI(void);
400
401 /**
402  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
403  *
404  * @since       2.0
405  */
406 EGLBoolean eglWaitClient(void);
407
408 /**
409  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
410  *
411  * @since       2.0
412  */
413 EGLBoolean eglReleaseThread(void);
414
415 /**
416  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
417  *
418  * @since       2.0
419  */
420 EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint* attrib_list);
421
422 /**
423  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
424  *
425  * @since       2.0
426  */
427 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
428
429 /**
430  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
431  *
432  * @since       2.0
433  */
434 EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
435
436 /**
437  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
438  *
439  * @since       2.0
440  */
441 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
442
443 /**
444  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
445  *
446  * @since       2.0
447  */
448 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval);
449
450 /**
451  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
452  *
453  * @since       2.0
454  */
455 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint* attrib_list);
456
457 /**
458  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
459  *
460  * @since       2.0
461  */
462 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx);
463
464 /**
465  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
466  *
467  * @since       2.0
468  */
469 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
470
471 /**
472  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
473  *
474  * @since       2.0
475  */
476 EGLContext eglGetCurrentContext(void);
477
478 /**
479  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
480  *
481  * @since       2.0
482  */
483 EGLSurface eglGetCurrentSurface(EGLint readdraw);
484
485 /**
486  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
487  *
488  * @since       2.0
489  */
490 EGLDisplay eglGetCurrentDisplay(void);
491
492 /**
493  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
494  *
495  * @since       2.0
496  */
497 EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint* value);
498
499 /**
500  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
501  *
502  * @since       2.0
503  */
504 EGLBoolean eglWaitGL(void);
505
506 /**
507  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
508  *
509  * @since       2.0
510  */
511 EGLBoolean eglWaitNative(EGLint engine);
512
513 /**
514  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
515  *
516  * @since       2.0
517  */
518 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface);
519
520 /**
521  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
522  *
523  * @since       2.0
524  */
525 EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
526
527 /* This is a generic function pointer type, whose name indicates it must
528  * be cast to the proper type *and calling convention* before use.
529  */
530 /*! \var typedef void (*__eglMustCastToProperFunctionPointerType)(void)
531     \brief A type definition for __eglMustCastToProperFunctionPointerType.
532 */
533 typedef void (*__eglMustCastToProperFunctionPointerType)(void);
534
535 /* Now, define eglGetProcAddress using the generic function ptr. type */
536 /**
537  * @page EGLeglGetProcAddress Compatibility for eglGetProcAddress.
538  * @section CompClassNameMethodNamePageIssueSection Issues
539  *      Implementation of this method in API versions prior to 1.2 has the following issue: @n
540  *
541  * -# This method does not work as expected in API versions prior to 1.2.
542  *
543  * @section CompClassNameMethodNamePageSolutionSection Resolutions
544  * The issue mentioned above is resolved in API version 1.2, and it is recommended to use API version 1.2 or above. @n
545 */
546 /**
547  * Returns function pointer of a GL or an EGL extension function.
548  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
549  *
550  * @since                                       2.0
551  *
552 */
553 EGLAPI __eglMustCastToProperFunctionPointerType eglGetProcAddress(const char* procname);
554
555 /**
556  * You can find more details at the Khronos Group site: http://www.khronos.org/registry/egl
557  *
558  * @since       2.0
559  */
560 EGLBoolean eglUpdateBufferOSP(EGLDisplay dpy, EGLSurface surface);
561
562 /**
563  * @}
564  */
565
566 #ifdef __cplusplus
567 }
568 #endif
569
570 #endif /* __egl_h_ */