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

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

Issue 8637014: Plumb thru that we cache the front buffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 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 | « gpu/command_buffer/service/feature_info.cc ('k') | 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 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 #ifdef GL_GLEXT_PROTOTYPES 1359 #ifdef GL_GLEXT_PROTOTYPES
1360 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM) 1360 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM)
1361 #if !defined(GLES2_USE_CPP_BINDINGS) 1361 #if !defined(GLES2_USE_CPP_BINDINGS)
1362 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);
1363 #endif 1363 #endif
1364 #else 1364 #else
1365 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);
1366 #endif 1366 #endif
1367 #endif 1367 #endif
1368 1368
1369 /* GL_CHROMIUM_front_buffer_cached */
1370 /* This extension implies that there is a cache of the front buffer of the
1371 * surface supporting this extension (e.g. on OSX the front buffer
1372 * is often backed by an IOSurface). Hence we do not need to redraw
1373 * (via a SwapBuffers) in order to display the last frame.
1374 */
1375 #ifndef GL_CHROMIUM_front_buffer_cached
1376 #define GL_CHROMIUM_front_buffer_cached 1
1377 #endif
1378
1369 /* GL_ARB_robustness */ 1379 /* GL_ARB_robustness */
1370 /* This extension is subsetted for the moment, incorporating only the 1380 /* This extension is subsetted for the moment, incorporating only the
1371 * enums necessary to describe the reasons that we might encounter for 1381 * enums necessary to describe the reasons that we might encounter for
1372 * losing the context. The entry point querying the reset status is 1382 * losing the context. The entry point querying the reset status is
1373 * not yet incorporated; to do so, a spec will be needed of a GLES2 1383 * not yet incorporated; to do so, a spec will be needed of a GLES2
1374 * subset of GL_ARB_robustness. 1384 * subset of GL_ARB_robustness.
1375 */ 1385 */
1376 #ifndef GL_ARB_robustness 1386 #ifndef GL_ARB_robustness
1377 #define GL_ARB_robustness 1 1387 #define GL_ARB_robustness 1
1378 #ifndef GL_GUILTY_CONTEXT_RESET_ARB 1388 #ifndef GL_GUILTY_CONTEXT_RESET_ARB
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 #else 1444 #else
1435 typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLs izei width, GLsizei height, GLuint ioSurfaceId, GLuint plane); 1445 typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLs izei width, GLsizei height, GLuint ioSurfaceId, GLuint plane);
1436 #endif 1446 #endif
1437 #endif 1447 #endif
1438 1448
1439 #ifdef __cplusplus 1449 #ifdef __cplusplus
1440 } 1450 }
1441 #endif 1451 #endif
1442 1452
1443 #endif /* __gl2ext_h_ */ 1453 #endif /* __gl2ext_h_ */
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698