230 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK(EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); |
230 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK(EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); |
231 #endif /* EGL_EGLEXT_PROTOTYPES */ |
231 #endif /* EGL_EGLEXT_PROTOTYPES */ |
232 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); |
232 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); |
233 #endif |
233 #endif |
234 |
234 |
235 |
|
236 #ifndef EGL_NOK_ENDPOINT |
235 #ifndef EGL_NOK_ENDPOINT |
237 #define EGL_NOK_ENDPOINT 1 |
236 #define EGL_NOK_ENDPOINT 1 |
238 /* Endpoint datatype */ |
237 /* Endpoint datatype */ |
239 typedef void* EGLEndpointNOK; |
238 typedef void* EGLEndpointNOK; |
240 typedef void* EGLTRequestStatusNOK; |
239 typedef void* EGLTRequestStatusNOK; |
248 #define EGL_BAD_ENDPOINT_NOK 0x30D4 |
247 #define EGL_BAD_ENDPOINT_NOK 0x30D4 |
249 /* Endpoint attribute keys */ |
248 /* Endpoint attribute keys */ |
250 #define EGL_ENDPOINT_READY_NOK 0x30D6 |
249 #define EGL_ENDPOINT_READY_NOK 0x30D6 |
251 #define EGL_DELAY_NOK 0x30D7 |
250 #define EGL_DELAY_NOK 0x30D7 |
252 |
251 |
253 #ifndef EGL_SYMBIAN_COMPOSITION |
|
254 #define EGL_SYMBIAN_COMPOSITION 1 |
|
255 /* Extension defines a behavioural change which does not introduce functions or tokens. */ |
|
256 /* The presence of this extension means that semi-transparent UI content can be displayed above EGL window surfaces. */ |
|
257 #endif |
|
258 |
|
259 #ifdef EGL_EGLEXT_PROTOTYPES |
252 #ifdef EGL_EGLEXT_PROTOTYPES |
260 EGLAPI EGLEndpointNOK EGLAPIENTRY eglCreateEndpointNOK(EGLDisplay dpy, EGLenum type, EGLenum source_type, EGLEndpointSourceNOK source, const EGLint *attrib_list); |
253 EGLAPI EGLEndpointNOK EGLAPIENTRY eglCreateEndpointNOK(EGLDisplay dpy, EGLenum type, EGLenum source_type, EGLEndpointSourceNOK source, const EGLint *attrib_list); |
261 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyEndpointNOK(EGLDisplay dpy, EGLEndpointNOK endpoint); |
254 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyEndpointNOK(EGLDisplay dpy, EGLEndpointNOK endpoint); |
262 EGLAPI EGLint EGLAPIENTRY eglGetEndpointAttribNOK(EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint attrib); |
255 EGLAPI EGLint EGLAPIENTRY eglGetEndpointAttribNOK(EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint attrib); |
263 EGLAPI EGLBoolean EGLAPIENTRY eglSetEndpointAttribNOK(EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint attrib, EGLint value); |
256 EGLAPI EGLBoolean EGLAPIENTRY eglSetEndpointAttribNOK(EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint attrib, EGLint value); |
268 EGLAPI EGLint EGLAPIENTRY eglGetEndpointDirtyAreaNOK(EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint* rects, EGLint start_rect, EGLint max_rects, EGLBoolean collapse); |
261 EGLAPI EGLint EGLAPIENTRY eglGetEndpointDirtyAreaNOK(EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint* rects, EGLint start_rect, EGLint max_rects, EGLBoolean collapse); |
269 EGLAPI EGLBoolean EGLAPIENTRY eglEndpointRequestNotificationNOK(EGLDisplay dpy, EGLEndpointNOK endpoint, EGLTRequestStatusNOK sync); |
262 EGLAPI EGLBoolean EGLAPIENTRY eglEndpointRequestNotificationNOK(EGLDisplay dpy, EGLEndpointNOK endpoint, EGLTRequestStatusNOK sync); |
270 EGLAPI EGLBoolean EGLAPIENTRY eglEndpointCancelNotificationNOK(EGLDisplay dpy, EGLEndpointNOK endpoint); |
263 EGLAPI EGLBoolean EGLAPIENTRY eglEndpointCancelNotificationNOK(EGLDisplay dpy, EGLEndpointNOK endpoint); |
271 #endif |
264 #endif |
272 |
265 |
273 typedef EGLEndpointNOK ( *PFNEGLCREATEENDPOINTNOKPROC) (EGLDisplay dpy, EGLenum type, EGLenum source_type, EGLEndpointSourceNOK source, const EGLint* attrib_list); |
266 typedef EGLEndpointNOK (EGLAPIENTRYP PFNEGLCREATEENDPOINTNOKPROC) (EGLDisplay dpy, EGLenum type, EGLenum source_type, EGLEndpointSourceNOK source, const EGLint* attrib_list); |
274 typedef EGLBoolean ( *PFNEGLDESTROYENDPOINTNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint); |
267 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYENDPOINTNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint); |
275 typedef EGLint ( *PFNEGLGETENDPOINTATTRIBNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint attrib); |
268 typedef EGLint (EGLAPIENTRYP PFNEGLGETENDPOINTATTRIBNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint attrib); |
276 typedef EGLBoolean ( *PFNEGLSETENDPOINTATTRIBNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint attrib, EGLint value); |
269 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETENDPOINTATTRIBNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint attrib, EGLint value); |
277 typedef EGLBoolean ( *PFNEGLENDPOINTBEGINSTREAMINGNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint); |
270 typedef EGLBoolean (EGLAPIENTRYP PFNEGLENDPOINTBEGINSTREAMINGNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint); |
278 typedef EGLBoolean ( *PFNEGLENDPOINTENDSTREAMINGNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint); |
271 typedef EGLBoolean (EGLAPIENTRYP PFNEGLENDPOINTENDSTREAMINGNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint); |
279 typedef EGLImageKHR ( *PFNEGLACQUIREIMAGENOKPROC)(EGLDisplay dpy, EGLEndpointNOK endpoint); |
272 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLACQUIREIMAGENOKPROC)(EGLDisplay dpy, EGLEndpointNOK endpoint); |
280 typedef EGLBoolean ( *PFNEGLRELEASEIMAGENOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLImageKHR image, EGLenum api); |
273 typedef EGLBoolean (EGLAPIENTRYP PFNEGLRELEASEIMAGENOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLImageKHR image, EGLenum api); |
281 typedef EGLint ( *PFNEGLGETENDPOINTDIRTYAREANOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint* rects, EGLint start_rect, EGLint max_rects, EGLBoolean collapse); |
274 typedef EGLint (EGLAPIENTRYP PFNEGLGETENDPOINTDIRTYAREANOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLint* rects, EGLint start_rect, EGLint max_rects, EGLBoolean collapse); |
282 typedef EGLBoolean ( *PFNEGLENDPOINTREQUESTNOTIFICATIONNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLTRequestStatusNOK sync); |
275 typedef EGLBoolean (EGLAPIENTRYP PFNEGLENDPOINTREQUESTNOTIFICATIONNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLTRequestStatusNOK sync); |
283 typedef EGLBoolean ( *PFNEGLENDPOINTCANCELNOTIFICATIONNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint); |
276 typedef EGLBoolean (EGLAPIENTRYP PFNEGLENDPOINTCANCELNOTIFICATIONNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint); |
284 #endif |
277 #endif |
|
278 |
|
279 #ifndef EGL_SYMBIAN_COMPOSITION |
|
280 #define EGL_SYMBIAN_COMPOSITION 1 |
|
281 /* Extension defines a behavioural change which does not introduce functions or tokens. */ |
|
282 /* The presence of this extension means that semi-transparent UI content can be displayed above EGL window surfaces. */ |
|
283 #endif /* EGL_SYMBIAN_COMPOSITION */ |
|
284 |
|
285 #ifndef EGL_NOK_SURFACE_SCALING |
|
286 #define EGL_NOK_SURFACE_SCALING 1 |
|
287 #define EGL_SURFACE_SCALING_NOK 0x30DD /* Surface Scaling attribute for EGLConfig */ |
|
288 #define EGL_TARGET_EXTENT_OFFSET_X_NOK 0x3079 /* attribute for eglCreateWindowSurface and eglQuerySurface */ |
|
289 #define EGL_TARGET_EXTENT_OFFSET_Y_NOK 0x307A /* attribute for eglCreateWindowSurface and eglQuerySurface */ |
|
290 #define EGL_TARGET_EXTENT_WIDTH_NOK 0x307B /* attribute for eglCreateWindowSurface and eglQuerySurface */ |
|
291 #define EGL_TARGET_EXTENT_HEIGHT_NOK 0x307C /* attribute for eglCreateWindowSurface and eglQuerySurface */ |
|
292 #define EGL_BORDER_COLOR_RED_NOK 0x307D /* attribute for eglCreateWindowSurface and eglQuerySurface */ |
|
293 #define EGL_BORDER_COLOR_GREEN_NOK 0x307E /* attribute for eglCreateWindowSurface and eglQuerySurface */ |
|
294 #define EGL_BORDER_COLOR_BLUE_NOK 0x30D8 /* attribute for eglCreateWindowSurface and eglQuerySurface */ |
|
295 #define EGL_FIXED_WIDTH_NOK 0x30DB /* attribute for eglCreateWindowSurface */ |
|
296 #define EGL_FIXED_HEIGHT_NOK 0x30DC /* attribute for eglCreateWindowSurface */ |
|
297 |
|
298 /* Tokens returned by eglQuerySurfaceScalingCapabilityNOK */ |
|
299 #define EGL_NOT_SUPPORTED_NOK 0 |
|
300 #define EGL_SUPPORTED_NOK 1 |
|
301 #define EGL_SLOW_NOK 3 |
|
302 |
|
303 #ifdef EGL_EGLEXT_PROTOTYPES |
|
304 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurfaceScalingCapabilityNOK(EGLDisplay dpy, EGLConfig config, EGLint surface_width, EGLint surface_height, EGLint target_width, EGLint target_height, EGLint *value); |
|
305 EGLAPI EGLBoolean EGLAPIENTRY eglSetSurfaceScalingNOK(EGLDisplay dpy, EGLSurface surface, EGLint target_offset_x, EGLint target_offset_y, EGLint target_width, EGLint target_height); |
|
306 #endif |
|
307 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACESCALINGCAPABILITYNOKPROC)(EGLDisplay dpy, EGLConfig config, EGLint surface_width, EGLint surface_height, EGLint target_width, EGLint target_height, EGLint *value); |
|
308 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSURFACESCALINGNOKPROC)(EGLDisplay dpy, EGLSurface surface, EGLint target_offset_x, EGLint target_offset_y, EGLint target_width, EGLint target_height); |
|
309 #endif /* EGL_NOK_SURFACE_SCALING */ |
285 |
310 |
286 #ifdef __cplusplus |
311 #ifdef __cplusplus |
287 } |
312 } |
288 #endif |
313 #endif |
289 |
314 |