summaryrefslogtreecommitdiff
path: root/src/egl/main/eglcontext.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-27 17:00:51 +0800
committerBrian Paul <brianp@vmware.com>2009-09-29 08:10:48 -0600
commitd845f2754bb8c0677323a5922cb90f9ea42bdb1f (patch)
tree533866d53b7547f9eba5bee51096d03bed88b497 /src/egl/main/eglcontext.h
parent55893b9439754c5213a9c182ee84f6c2554a0281 (diff)
egl: Add support for querying render buffer.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/egl/main/eglcontext.h')
-rw-r--r--src/egl/main/eglcontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/main/eglcontext.h b/src/egl/main/eglcontext.h
index 647f24488f..45c7b4717b 100644
--- a/src/egl/main/eglcontext.h
+++ b/src/egl/main/eglcontext.h
@@ -24,6 +24,9 @@ struct _egl_context
EGLint ClientAPI; /**< EGL_OPENGL_ES_API, EGL_OPENGL_API, EGL_OPENVG_API */
EGLint ClientVersion; /**< 1 = OpenGLES 1.x, 2 = OpenGLES 2.x */
+
+ /* The real render buffer when a window surface is bound */
+ EGLint WindowRenderBuffer;
};