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

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: Add kGLImplementationMockGL case to gl_image_android.cc. Created 8 years, 2 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
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | third_party/khronos/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2019 matching lines...) Expand 10 before | Expand all | Expand 10 after
2030 #ifdef GL_GLEXT_PROTOTYPES 2030 #ifdef GL_GLEXT_PROTOTYPES
2031 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN(BindUniformLocationCHROMIUM) 2031 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN(BindUniformLocationCHROMIUM)
2032 #if !defined(GLES2_USE_CPP_BINDINGS) 2032 #if !defined(GLES2_USE_CPP_BINDINGS)
2033 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLuint program, GLint location, const GLchar* name); 2033 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLuint program, GLint location, const GLchar* name);
2034 #endif 2034 #endif
2035 #else 2035 #else
2036 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL int location, const GLchar* name); 2036 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL int location, const GLchar* name);
2037 #endif 2037 #endif
2038 #endif 2038 #endif
2039 2039
2040 /* GL_CHROMIUM_texture_from_image */
2041 #ifndef GL_CHROMIUM_texture_from_image
2042 #define GL_CHROMIUM_texture_from_image 1
2043 #ifdef GL_GLEXT_PROTOTYPES
2044 #define glBindTexImage2DCHROMIUM GLES2_GET_FUN(BindTexImage2DCHROMIUM)
2045 #define glReleaseTexImage2DCHROMIUM GLES2_GET_FUN(ReleaseTexImage2DCHROMIUM)
2046 #if !defined(GLES2_USE_CPP_BINDINGS)
2047 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM (GLenum target, GLint image Id);
2048 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM (GLenum target, GLint im ageId);
2049 #endif
2050 #else
2051 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUM) (GLenum target, GLint im ageId);
2052 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUM) (GLenum target, GLint imageId);
2053 #endif
2054 #endif
2055
2040 #ifdef __cplusplus 2056 #ifdef __cplusplus
2041 } 2057 }
2042 #endif 2058 #endif
2043 2059
2044 #endif /* __gl2ext_h_ */ 2060 #endif /* __gl2ext_h_ */
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | third_party/khronos/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698