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

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

Issue 11568029: Add a command to lose the context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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: 19436 $ on $Date:: 2012-10-10 10:37:04 -0700 #$ */ 4 /* $Revision: 19436 $ on $Date:: 2012-10-10 10:37:04 -0700 #$ */
5 5
6 #include <GLES2/gl2chromium.h> 6 #include <GLES2/gl2chromium.h>
7 7
8 #ifdef __cplusplus 8 #ifdef __cplusplus
9 extern "C" { 9 extern "C" {
10 #endif 10 #endif
(...skipping 2143 matching lines...) Expand 10 before | Expand all | Expand 10 after
2154 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x88EF 2154 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x88EF
2155 #endif 2155 #endif
2156 2156
2157 /* GL_CHROMIUM_async_pixel_transfers */ 2157 /* GL_CHROMIUM_async_pixel_transfers */
2158 #ifndef GL_CHROMIUM_async_pixel_transfers 2158 #ifndef GL_CHROMIUM_async_pixel_transfers
2159 #define GL_CHROMIUM_async_pixel_transfers 1 2159 #define GL_CHROMIUM_async_pixel_transfers 1
2160 // TODO: Get official numbers for these constants. 2160 // TODO: Get official numbers for these constants.
2161 #define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5 2161 #define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5
2162 #endif 2162 #endif
2163 2163
2164 /* GL_CHROMIUM_lose_context */
2165 #ifndef GL_CHROMIUM_lose_context
2166 #define GL_CHROMIUM_lose_context 1
2167 #ifdef GL_GLEXT_PROTOTYPES
2168 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM ();
2169 #endif
2170 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUM) ();
2171 #endif
2172
2164 #ifdef __cplusplus 2173 #ifdef __cplusplus
2165 } 2174 }
2166 #endif 2175 #endif
2167 2176
2168 #endif /* __gl2ext_h_ */ 2177 #endif /* __gl2ext_h_ */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698