summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglscreen.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-12-10 17:53:07 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-12-10 17:53:07 +0000
commitb04dd5c58763039a564c50b5e3c0bbc9755e7f72 (patch)
treea0774f43a6e62b969fd4097873cc467bc55f2032 /src/egl/main/eglscreen.h
parentad6f8eba00359fcb7abff8105dcb7a9dd2f32fec (diff)
downloadexternal_mesa3d-b04dd5c58763039a564c50b5e3c0bbc9755e7f72.zip
external_mesa3d-b04dd5c58763039a564c50b5e3c0bbc9755e7f72.tar.gz
external_mesa3d-b04dd5c58763039a564c50b5e3c0bbc9755e7f72.tar.bz2
Added EGL_SCREEN_POSITION_GRANULARITY_MESA query.
Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.
Diffstat (limited to 'src/egl/main/eglscreen.h')
-rw-r--r--src/egl/main/eglscreen.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/egl/main/eglscreen.h b/src/egl/main/eglscreen.h
index 6419844..5d1cff9 100644
--- a/src/egl/main/eglscreen.h
+++ b/src/egl/main/eglscreen.h
@@ -22,10 +22,12 @@ struct _egl_screen
_EGLMode *CurrentMode;
_EGLSurface *CurrentSurface;
- EGLint OriginX, OriginY;
+
+ EGLint OriginX, OriginY; /**< Origin of scan-out region w.r.t. surface */
+ EGLint StepX, StepY; /**< Screen position/origin granularity */
EGLint NumModes;
- _EGLMode *Modes; /* array [NumModes] */
+ _EGLMode *Modes; /**< array [NumModes] */
};
@@ -50,7 +52,7 @@ _eglCreateScreenSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config, c
extern EGLBoolean
-_eglShowSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLSurface surface, EGLModeMESA mode);
+_eglShowScreenSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen, EGLSurface surface, EGLModeMESA mode);
extern EGLBoolean