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

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

Issue 12330129: Make WaitSyncPoint go through command buffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 years, 9 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/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains Chromium-specific GLES2 extensions declarations. 5 // This file contains Chromium-specific GLES2 extensions declarations.
6 6
7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_ 7 #ifndef GPU_GLES2_GL2EXTCHROMIUM_H_
8 #define GPU_GLES2_GL2EXTCHROMIUM_H_ 8 #define GPU_GLES2_GL2EXTCHROMIUM_H_
9 9
10 #include <GLES2/gl2.h> 10 #include <GLES2/gl2.h>
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 const GLenum* pnames, GLuint count, GLint* results, GLsizeiptr size); 436 const GLenum* pnames, GLuint count, GLint* results, GLsizeiptr size);
437 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOCHROMIUMPROC) ( 437 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOCHROMIUMPROC) (
438 GLuint program, GLsizei bufsize, GLsizei* size, void* info); 438 GLuint program, GLsizei bufsize, GLsizei* size, void* info);
439 #endif /* GL_CHROMIUM_get_multiple */ 439 #endif /* GL_CHROMIUM_get_multiple */
440 440
441 /* GL_CHROMIUM_front_buffer_cached */ 441 /* GL_CHROMIUM_front_buffer_cached */
442 #ifndef GL_CHROMIUM_front_buffer_cached 442 #ifndef GL_CHROMIUM_front_buffer_cached
443 #define GL_CHROMIUM_front_buffer_cached 1 443 #define GL_CHROMIUM_front_buffer_cached 1
444 #endif /* GL_CHROMIUM_front_buffer_cached */ 444 #endif /* GL_CHROMIUM_front_buffer_cached */
445 445
446 /* GL_CHROMIUM_sync_point */
447 #ifndef GL_CHROMIUM_sync_point
448 #define GL_CHROMIUM_sync_point 1
449 #ifdef GL_GLEXT_PROTOTYPES
450 GL_APICALL GLuint GL_APIENTRY glInsertSyncPointCHROMIUM();
451 GL_APICALL void GL_APIENTRY glWaitSyncPointCHROMIUM(GLuint sync_point);
452 #endif
453 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) ();
454 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point);
455 #endif /* GL_CHROMIUM_sync_point */
456
446 #ifdef __cplusplus 457 #ifdef __cplusplus
447 } 458 }
448 #endif 459 #endif
449 460
450 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 461 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
451 462
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698