From 5dc0f49084f322dd8ff6eb585212eea8b50e3377 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Thu, 6 May 2010 22:40:25 -0400 Subject: egl: Implement EGL_NOK_texture_from_pixmap This extension allows a color buffer to be used for both rendering and texturing. EGL allows the use of color buffers of pbuffer drawables for texturing, this extension extends this to allow the use of color buffers of pixmaps too. --- include/EGL/eglext.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/EGL/eglext.h b/include/EGL/eglext.h index 61626d20df..e9f5a49b48 100644 --- a/include/EGL/eglext.h +++ b/include/EGL/eglext.h @@ -239,6 +239,13 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EG #endif +#ifndef EGL_NOK_texture_from_pixmap +#define EGL_NOK_texture_from_pixmap 1 + +#define EGL_Y_INVERTED_NOK 0x307F +#endif /* EGL_NOK_texture_from_pixmap */ + + #ifdef __cplusplus } #endif -- cgit v1.2.3