egl/eglinterface/include/1.4/eglext.h
changeset 98 bf7481649c98
parent 85 cdf2f6e5c390
child 103 2717213c588a
equal deleted inserted replaced
85:cdf2f6e5c390 98:bf7481649c98
     5 #ifdef __cplusplus
     5 #ifdef __cplusplus
     6 extern "C" {
     6 extern "C" {
     7 #endif
     7 #endif
     8 
     8 
     9 /*
     9 /*
    10 ** Copyright (c) 2007-2009 The Khronos Group Inc.
    10 ** Copyright (c) 2007-2010 The Khronos Group Inc.
    11 **
    11 **
    12 ** Permission is hereby granted, free of charge, to any person obtaining a
    12 ** Permission is hereby granted, free of charge, to any person obtaining a
    13 ** copy of this software and/or associated documentation files (the
    13 ** copy of this software and/or associated documentation files (the
    14 ** "Materials"), to deal in the Materials without restriction, including
    14 ** "Materials"), to deal in the Materials without restriction, including
    15 ** without limitation the rights to use, copy, modify, merge, publish,
    15 ** without limitation the rights to use, copy, modify, merge, publish,
   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);
   281 typedef EGLint ( *PFNEGLGETENDPOINTDIRTYAREANOKPROC) (EGLDisplay dpy,  EGLEndpointNOK endpoint, EGLint* rects, EGLint start_rect, EGLint max_rects,  EGLBoolean collapse); 
   274 typedef EGLint ( *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 ( *PFNEGLENDPOINTREQUESTNOTIFICATIONNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint, EGLTRequestStatusNOK sync);
   283 typedef EGLBoolean ( *PFNEGLENDPOINTCANCELNOTIFICATIONNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint);
   276 typedef EGLBoolean ( *PFNEGLENDPOINTCANCELNOTIFICATIONNOKPROC) (EGLDisplay dpy, EGLEndpointNOK endpoint);
   284 #endif
   277 #endif
   285 
   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 EGLint EGLAPIENTRY eglQuerySurfaceScalingCapabilityNOK(EGLDisplay dpy, EGLConfig config, EGLint surface_width, EGLint surface_height, EGLint target_width, EGLint target_height);
       
   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 EGLint (EGLAPIENTRYP PFNEGLQUERYSURFACESCALINGCAPABILITYNOKPROC)(EGLDisplay dpy, EGLConfig config, EGLint surface_width, EGLint surface_height, EGLint target_width, EGLint target_height);
       
   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 */
       
   310 
   286 #ifdef __cplusplus
   311 #ifdef __cplusplus
   287 }
   312 }
   288 #endif
   313 #endif
   289 
   314 
   290 #endif
   315 #endif