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

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

Issue 10106015: Allow textures to be moved from one GL context group to another. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after
1975 1975
1976 /* GL_CHROMIUM_command_buffer_query */ 1976 /* GL_CHROMIUM_command_buffer_query */
1977 /* Exposes GL_CHROMIUM_command_buffer_query. 1977 /* Exposes GL_CHROMIUM_command_buffer_query.
1978 */ 1978 */
1979 #ifndef GL_CHROMIUM_command_buffer_query 1979 #ifndef GL_CHROMIUM_command_buffer_query
1980 #define GL_CHROMIUM_command_buffer_query 1 1980 #define GL_CHROMIUM_command_buffer_query 1
1981 // TODO(gman): Get official numbers for these constants. 1981 // TODO(gman): Get official numbers for these constants.
1982 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 1982 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2
1983 #endif 1983 #endif
1984 1984
1985 /* GL_CHROMIUM_copy_texture */
Ken Russell (switch to Gerrit) 2012/04/26 01:10:53 Should be GL_CHROMIUM_texture_mailbox. Also, the m
1986 #ifndef GL_CHROMIUM_copy_texture
1987 #define GL_CHROMIUM_copy_texture 1
1988 #ifdef GL_GLEXT_PROTOTYPES
1989 #define glGenMailboxCHROMIUM GLES2_GET_FUN(GenMailboxCHROMIUM)
1990 #define glProduceTextureCHROMIUM GLES2_GET_FUN(ProduceTextureCHROMIUM)
1991 #define glConsumeTextureCHROMIUM GLES2_GET_FUN(ConsumeTextureCHROMIUM)
1992 #if !defined(GLES2_USE_CPP_BINDINGS)
1993 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM (char* mailbox);
1994 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenum target, const char* mailbox);
1995 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenum target, const char * mailbox);
1996 #endif
1997 #else
1998 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUM) (char* mailbox);
1999 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUM) (GLenum target, const ch ar* mailbox);
2000 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUM) (GLenum target, const c har* mailbox);
2001 #endif
2002 #endif
2003
1985 #ifdef __cplusplus 2004 #ifdef __cplusplus
1986 } 2005 }
1987 #endif 2006 #endif
1988 2007
1989 #endif /* __gl2ext_h_ */ 2008 #endif /* __gl2ext_h_ */
OLDNEW
« gpu/command_buffer/tests/gl_unittests.cc ('K') | « gpu/command_buffer_service.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698