From 5664a983867038de48e71b65df89e0e254085af2 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 22 Oct 2010 17:09:40 +0800 Subject: egl: Parse image attributes with _eglParseImageAttribList. Avoid code duplications. --- src/egl/main/eglimage.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/egl/main/eglimage.h') diff --git a/src/egl/main/eglimage.h b/src/egl/main/eglimage.h index 356395a210..e457bf4ef6 100644 --- a/src/egl/main/eglimage.h +++ b/src/egl/main/eglimage.h @@ -14,6 +14,13 @@ struct _egl_image_attribs /* EGL_KHR_gl_image */ EGLint GLTextureLevel; EGLint GLTextureZOffset; + + /* EGL_MESA_drm_image */ + EGLint Width; + EGLint Height; + EGLint DRMBufferFormatMESA; + EGLint DRMBufferUseMESA; + EGLint DRMBufferStrideMESA; }; /** -- cgit v1.2.3