OLD | NEW |
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 Loading... |
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 |
OLD | NEW |