diff options
author | Chia-I Wu <[email protected]> | 2010-10-22 17:09:40 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-10-22 18:35:09 +0800 |
commit | 5664a983867038de48e71b65df89e0e254085af2 (patch) | |
tree | 4c3fa8187bc199b83fe8485cfd33d86ee84a1675 /src/egl/main/eglimage.h | |
parent | 713c8734f45b51b3758ecc95b96cf7b5aecacec8 (diff) |
egl: Parse image attributes with _eglParseImageAttribList.
Avoid code duplications.
Diffstat (limited to 'src/egl/main/eglimage.h')
-rw-r--r-- | src/egl/main/eglimage.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/egl/main/eglimage.h b/src/egl/main/eglimage.h index 356395a210a..e457bf4ef69 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; }; /** |