diff options
author | Brian Paul <[email protected]> | 2005-05-04 20:00:15 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-05-04 20:00:15 +0000 |
commit | fe6ee3f5e69572fe8ea90183b2d5de7d76eecca2 (patch) | |
tree | 59734e94403b9c097ff4f6377eb2c6260f1c7949 /include/GLES | |
parent | f5581bb9943c4b711ce5e7bea4979adacd9b85d8 (diff) |
EGLScreenMESA updates
Diffstat (limited to 'include/GLES')
-rw-r--r-- | include/GLES/egl.h | 15 | ||||
-rw-r--r-- | include/GLES/egltypes.h | 1 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/GLES/egl.h b/include/GLES/egl.h index 0fafc25e156..64acb722a22 100644 --- a/include/GLES/egl.h +++ b/include/GLES/egl.h @@ -244,17 +244,16 @@ GLAPI EGLBoolean APIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, Na #define EGL_OPTIMAL_MODE_MESA 0x4006 #define EGL_SCREEN_BIT_MESA 0x08 -GLAPI EGLBoolean APIENTRY eglChooseModeMESA(EGLDisplay dpy, EGLint screen_number, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); -GLAPI EGLBoolean APIENTRY eglGetModesMESA(EGLDisplay dpy, EGLint screen_number, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); +GLAPI EGLBoolean APIENTRY eglChooseModeMESA(EGLDisplay dpy, EGLScreenMESA screen, const EGLint *attrib_list, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); +GLAPI EGLBoolean APIENTRY eglGetModesMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *modes, EGLint modes_size, EGLint *num_modes); GLAPI EGLBoolean APIENTRY eglGetModeAttribMESA(EGLDisplay dpy, EGLModeMESA mode, EGLint attribute, EGLint *value); +GLAPI EGLBoolean APIENTRY eglGetScreensMESA(EGLDisplay dpy, EGLScreenMESA *screens, EGLint max_screens, EGLint *num_screens); GLAPI EGLSurface APIENTRY eglCreateScreenSurfaceMESA(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list); GLAPI EGLBoolean APIENTRY eglShowSurfaceMESA(EGLDisplay dpy, EGLint screen, EGLSurface surface); -GLAPI EGLBoolean APIENTRY eglScreenModeMESA(EGLDisplay dpy, EGLint screen_number, EGLModeMESA mode); -GLAPI EGLBoolean APIENTRY eglScreenAttribsMESA(EGLDisplay dpy, EGLint screen, const EGLint *attrib_list); -GLAPI EGLBoolean APIENTRY eglQueryDisplayMESA(EGLDisplay dpy, EGLint attribute, EGLint *value); -GLAPI EGLBoolean APIENTRY eglQueryScreenSurfaceMESA(EGLDisplay dpy, EGLint screen_number, EGLSurface *surface); -GLAPI EGLBoolean APIENTRY eglQueryScreenModeMESA(EGLDisplay dpy, EGLint screen_number, EGLModeMESA *mode); -GLAPI EGLBoolean APIENTRY eglQueryScreenMESA(EGLDisplay dpy, EGLint screen_number, EGLint attribute, EGLint *value); +GLAPI EGLBoolean APIENTRY eglScreenPositionMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint x, EGLint y); +GLAPI EGLBoolean APIENTRY eglQueryScreenMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLint attribute, EGLint *value); +GLAPI EGLBoolean APIENTRY eglQueryScreenSurfaceMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLSurface *surface); +GLAPI EGLBoolean APIENTRY eglQueryScreenModeMESA(EGLDisplay dpy, EGLScreenMESA screen, EGLModeMESA *mode); #endif /* EGL_MESA_screen_surface */ diff --git a/include/GLES/egltypes.h b/include/GLES/egltypes.h index c81116ace21..65cba8d5793 100644 --- a/include/GLES/egltypes.h +++ b/include/GLES/egltypes.h @@ -20,6 +20,7 @@ typedef u_int32_t EGLContext; /* EGL_MESA_screen_surface */ typedef u_int32_t EGLModeMESA; +typedef u_int32_t EGLScreenMESA; /* |