299 #define EGL_NOT_SUPPORTED_NOK 0 |
299 #define EGL_NOT_SUPPORTED_NOK 0 |
300 #define EGL_SUPPORTED_NOK 1 |
300 #define EGL_SUPPORTED_NOK 1 |
301 #define EGL_SLOW_NOK 3 |
301 #define EGL_SLOW_NOK 3 |
302 |
302 |
303 #ifdef EGL_EGLEXT_PROTOTYPES |
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); |
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); |
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 |
306 #endif |
307 typedef EGLint (EGLAPIENTRYP PFNEGLQUERYSURFACESCALINGCAPABILITYNOKPROC)(EGLDisplay dpy, EGLConfig config, EGLint surface_width, EGLint surface_height, EGLint target_width, EGLint target_height); |
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); |
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 */ |
309 #endif /* EGL_NOK_SURFACE_SCALING */ |
310 |
310 |
311 #ifdef __cplusplus |
311 #ifdef __cplusplus |
312 } |
312 } |