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

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

Issue 10577037: Add GL_CHROMIUM_get_error_query (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/gpu_common.gypi ('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 1967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1978 1978
1979 /* GL_CHROMIUM_command_buffer_query */ 1979 /* GL_CHROMIUM_command_buffer_query */
1980 /* Exposes GL_CHROMIUM_command_buffer_query. 1980 /* Exposes GL_CHROMIUM_command_buffer_query.
1981 */ 1981 */
1982 #ifndef GL_CHROMIUM_command_buffer_query 1982 #ifndef GL_CHROMIUM_command_buffer_query
1983 #define GL_CHROMIUM_command_buffer_query 1 1983 #define GL_CHROMIUM_command_buffer_query 1
1984 // TODO(gman): Get official numbers for these constants. 1984 // TODO(gman): Get official numbers for these constants.
1985 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 1985 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2
1986 #endif 1986 #endif
1987 1987
1988 /* GL_CHROMIUM_get_error_query */
1989 /* Exposes GL_CHROMIUM_get_error_query.
1990 */
1991 #ifndef GL_CHROMIUM_get_error_query
1992 #define GL_CHROMIUM_get_error_query 1
1993 // TODO(gman): Get official numbers for these constants.
1994 #define GL_GET_ERROR_QUERY_CHROMIUM 0x84F3
1995 #endif
1996
1988 /* GL_CHROMIUM_texture_mailbox */ 1997 /* GL_CHROMIUM_texture_mailbox */
1989 #ifndef GL_CHROMIUM_texture_mailbox 1998 #ifndef GL_CHROMIUM_texture_mailbox
1990 #define GL_CHROMIUM_texture_mailbox 1 1999 #define GL_CHROMIUM_texture_mailbox 1
1991 #define GL_MAILBOX_SIZE_CHROMIUM 64 2000 #define GL_MAILBOX_SIZE_CHROMIUM 64
1992 #ifdef GL_GLEXT_PROTOTYPES 2001 #ifdef GL_GLEXT_PROTOTYPES
1993 #define glGenMailboxCHROMIUM GLES2_GET_FUN(GenMailboxCHROMIUM) 2002 #define glGenMailboxCHROMIUM GLES2_GET_FUN(GenMailboxCHROMIUM)
1994 #define glProduceTextureCHROMIUM GLES2_GET_FUN(ProduceTextureCHROMIUM) 2003 #define glProduceTextureCHROMIUM GLES2_GET_FUN(ProduceTextureCHROMIUM)
1995 #define glConsumeTextureCHROMIUM GLES2_GET_FUN(ConsumeTextureCHROMIUM) 2004 #define glConsumeTextureCHROMIUM GLES2_GET_FUN(ConsumeTextureCHROMIUM)
1996 #if !defined(GLES2_USE_CPP_BINDINGS) 2005 #if !defined(GLES2_USE_CPP_BINDINGS)
1997 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM (GLbyte* mailbox); 2006 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM (GLbyte* mailbox);
(...skipping 19 matching lines...) Expand all
2017 #else 2026 #else
2018 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL int location, const GLchar* name); 2027 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL int location, const GLchar* name);
2019 #endif 2028 #endif
2020 #endif 2029 #endif
2021 2030
2022 #ifdef __cplusplus 2031 #ifdef __cplusplus
2023 } 2032 }
2024 #endif 2033 #endif
2025 2034
2026 #endif /* __gl2ext_h_ */ 2035 #endif /* __gl2ext_h_ */
OLDNEW
« no previous file with comments | « gpu/gpu_common.gypi ('k') | third_party/khronos/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698