Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: third_party/khronos/GLES2/gl2ext.h

Issue 10543125: gpu: Add support for GLX_EXT_texture_from_pixmap extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #ifndef __gl2ext_h_ 1 #ifndef __gl2ext_h_
2 #define __gl2ext_h_ 2 #define __gl2ext_h_
3 3
4 /* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */ 4 /* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */
5 5
6 #ifdef __cplusplus 6 #ifdef __cplusplus
7 extern "C" { 7 extern "C" {
8 #endif 8 #endif
9 9
10 /* 10 /*
(...skipping 1984 matching lines...) Expand 10 before | Expand all | Expand 10 after
1995 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenum target, const GLbyt e* mailbox); 1995 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenum target, const GLbyt e* mailbox);
1996 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenum target, const GLby te* mailbox); 1996 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenum target, const GLby te* mailbox);
1997 #endif 1997 #endif
1998 #else 1998 #else
1999 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUM) (GLbyte* mailbox); 1999 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUM) (GLbyte* mailbox);
2000 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUM) (GLenum target, const GL byte* mailbox); 2000 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUM) (GLenum target, const GL byte* mailbox);
2001 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUM) (GLenum target, const G Lbyte* mailbox); 2001 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUM) (GLenum target, const G Lbyte* mailbox);
2002 #endif 2002 #endif
2003 #endif 2003 #endif
2004 2004
2005 /* GL_CHROMIUM_texture_from_pixmap */
2006 /* Exposes the GLX-specfic glXBindTexImageEXT entry point as a
2007 * Chromium extension in the cross-platform API. Binds the Pixmap with
2008 * the given ID (an X11 Pixmap) to the texture bound to the given target.
2009 */
2010 #ifndef GL_CHROMIUM_texture_from_pixmap
2011 #define GL_CHROMIUM_texture_from_pixmap 1
2012 #ifdef GL_GLEXT_PROTOTYPES
2013 #define glTexImagePixmap2DCHROMIUM GLES2_GET_FUN(TexImagePixmap2DCHROMIUM)
2014 #if !defined(GLES2_USE_CPP_BINDINGS)
2015 GL_APICALL void GL_APIENTRY glTexImagePixmap2DCHROMIUM (GLenum target, GLuint pi xmapId);
2016 #endif
2017 #else
2018 typedef void (GL_APIENTRYP PFNGLTEXIMAGEPIXMAP2DCHROMIUM) (GLenum target, GLuint pixmapId);
2019 #endif
2020 #endif
2021
2005 #ifdef __cplusplus 2022 #ifdef __cplusplus
2006 } 2023 }
2007 #endif 2024 #endif
2008 2025
2009 #endif /* __gl2ext_h_ */ 2026 #endif /* __gl2ext_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698