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

Side by Side Diff: gpu/GLES2/gl2ext.h

Issue 8536025: Add a comment for the new CHROMIUM extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | 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: 15049 $ on $Date:: 2011-07-06 17:28:16 -0700 #$ */ 4 /* $Revision: 15049 $ on $Date:: 2011-07-06 17:28:16 -0700 #$ */
5 5
6 #ifdef __cplusplus 6 #ifdef __cplusplus
7 extern "C" { 7 extern "C" {
8 #endif 8 #endif
9 9
10 /* 10 /*
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 #define glEnableFeatureCHROMIUM GLES2_GET_FUN(EnableFeatureCHROMIUM) 1343 #define glEnableFeatureCHROMIUM GLES2_GET_FUN(EnableFeatureCHROMIUM)
1344 #if !defined(GLES2_USE_CPP_BINDINGS) 1344 #if !defined(GLES2_USE_CPP_BINDINGS)
1345 GL_APICALL void GL_APIENTRY glEnableFeatureCHROMIUM (const GLchar *feature); 1345 GL_APICALL void GL_APIENTRY glEnableFeatureCHROMIUM (const GLchar *feature);
1346 #endif 1346 #endif
1347 #else 1347 #else
1348 typedef void (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUM) (const GLchar *feature); 1348 typedef void (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUM) (const GLchar *feature);
1349 #endif 1349 #endif
1350 #endif 1350 #endif
1351 1351
1352 /* GL_CHROMIUM_post_sub_buffer */ 1352 /* GL_CHROMIUM_post_sub_buffer */
1353 /* This extension is modeled after EGL_NV_post_sub_buffer and
1354 * GLX_MESA_copy_sub_buffer. It's like a SwapBuffers, but it pushes a region
1355 * of the back buffer to the front buffer.
1356 */
1353 #ifndef GL_CHROMIUM_post_sub_buffer 1357 #ifndef GL_CHROMIUM_post_sub_buffer
1354 #define GL_CHROMIUM_post_sub_buffer 1 1358 #define GL_CHROMIUM_post_sub_buffer 1
1355 #ifdef GL_GLEXT_PROTOTYPES 1359 #ifdef GL_GLEXT_PROTOTYPES
1356 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM) 1360 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM)
1357 #if !defined(GLES2_USE_CPP_BINDINGS) 1361 #if !defined(GLES2_USE_CPP_BINDINGS)
1358 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, GLint wid th, GLint height); 1362 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, GLint wid th, GLint height);
1359 #endif 1363 #endif
1360 #else 1364 #else
1361 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUM) (GLint x, GLint y, GLint width, GLint height); 1365 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUM) (GLint x, GLint y, GLint width, GLint height);
1362 #endif 1366 #endif
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 #endif 1399 #endif
1396 #endif 1400 #endif
1397 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shad er, GLsizei bufsize, GLsizei* length, GLchar* source); 1401 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shad er, GLsizei bufsize, GLsizei* length, GLchar* source);
1398 #endif 1402 #endif
1399 1403
1400 #ifdef __cplusplus 1404 #ifdef __cplusplus
1401 } 1405 }
1402 #endif 1406 #endif
1403 1407
1404 #endif /* __gl2ext_h_ */ 1408 #endif /* __gl2ext_h_ */
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698