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

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

Issue 9968113: Addition of GL_CHROMIUM_copy_texture extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Adding extension implementation files. Created 8 years, 8 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 1937 matching lines...) Expand 10 before | Expand all | Expand 10 after
1948 #ifdef GL_GLEXT_PROTOTYPES 1948 #ifdef GL_GLEXT_PROTOTYPES
1949 #define glTexImageIOSurface2DCHROMIUM GLES2_GET_FUN(TexImageIOSurface2DCHROMIUM) 1949 #define glTexImageIOSurface2DCHROMIUM GLES2_GET_FUN(TexImageIOSurface2DCHROMIUM)
1950 #if !defined(GLES2_USE_CPP_BINDINGS) 1950 #if !defined(GLES2_USE_CPP_BINDINGS)
1951 GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM (GLenum target, GLsize i width, GLsizei height, GLuint ioSurfaceId, GLuint plane); 1951 GL_APICALL void GL_APIENTRY glTexImageIOSurface2DCHROMIUM (GLenum target, GLsize i width, GLsizei height, GLuint ioSurfaceId, GLuint plane);
1952 #endif 1952 #endif
1953 #else 1953 #else
1954 typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLs izei width, GLsizei height, GLuint ioSurfaceId, GLuint plane); 1954 typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLs izei width, GLsizei height, GLuint ioSurfaceId, GLuint plane);
1955 #endif 1955 #endif
1956 #endif 1956 #endif
1957 1957
1958 /* GL_CHROMIUM_copy_texture */
1959 #ifndef GL_CHROMIUM_copy_texture
1960 #define GL_ARB_texture_rectangle 1
1961 #ifndef GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM
1962 #define GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM 0x9241
1963 #endif
1964 #ifndef UNPACK_COLORSPACE_CONVERSION_CHROMIUM
1965 #define UNPACK_COLORSPACE_CONVERSION_CHROMIUM 0x9243
1966 #endif
1967 #ifndef BROWSER_DEFAULT_CHROMIUM
1968 #define BROWSER_DEFAULT_CHROMIUM 0x9244
1969 #endif
1970 #ifdef GL_GLEXT_PROTOTYPES
1971 #define glCopyTextureCHROMIUM GLES2_GET_FUN(CopyTextureCHROMIUM)
1972 #if !defined(GLES2_USE_CPP_BINDINGS)
1973 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM (GLenum target, GLenum source_ id, GLenum dest_id, GLint level);
1974 #endif
1975 #else
1976 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUM) (GLenum target, GLenum sour ce_id, GLenum dest_id, GLint level);
1977 #endif
1978 #endif
1979
1958 /* GL_CHROMIUM_command_buffer_query */ 1980 /* GL_CHROMIUM_command_buffer_query */
1959 /* Exposes GL_CHROMIUM_command_buffer_query. 1981 /* Exposes GL_CHROMIUM_command_buffer_query.
1960 */ 1982 */
1961 #ifndef GL_CHROMIUM_command_buffer_query 1983 #ifndef GL_CHROMIUM_command_buffer_query
1962 #define GL_CHROMIUM_command_buffer_query 1 1984 #define GL_CHROMIUM_command_buffer_query 1
1963 // TODO(gman): Get official numbers for these constants. 1985 // TODO(gman): Get official numbers for these constants.
1964 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 1986 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2
1965 #endif 1987 #endif
1966 1988
1967 #ifdef __cplusplus 1989 #ifdef __cplusplus
1968 } 1990 }
1969 #endif 1991 #endif
1970 1992
1971 #endif /* __gl2ext_h_ */ 1993 #endif /* __gl2ext_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698