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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 #ifndef GL_CHROMIUM_sync_point | 616 #ifndef GL_CHROMIUM_sync_point |
617 #define GL_CHROMIUM_sync_point 1 | 617 #define GL_CHROMIUM_sync_point 1 |
618 #ifdef GL_GLEXT_PROTOTYPES | 618 #ifdef GL_GLEXT_PROTOTYPES |
619 GL_APICALL GLuint GL_APIENTRY glInsertSyncPointCHROMIUM(); | 619 GL_APICALL GLuint GL_APIENTRY glInsertSyncPointCHROMIUM(); |
620 GL_APICALL void GL_APIENTRY glWaitSyncPointCHROMIUM(GLuint sync_point); | 620 GL_APICALL void GL_APIENTRY glWaitSyncPointCHROMIUM(GLuint sync_point); |
621 #endif | 621 #endif |
622 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); | 622 typedef GLuint (GL_APIENTRYP PFNGLINSERTSYNCPOINTCHROMIUMPROC) (); |
623 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); | 623 typedef void (GL_APIENTRYP PFNGLWAITSYNCPOINTCHROMIUMPROC) (GLuint sync_point); |
624 #endif /* GL_CHROMIUM_sync_point */ | 624 #endif /* GL_CHROMIUM_sync_point */ |
625 | 625 |
| 626 /* GL_CHROMIUM_set_overlay_plane */ |
| 627 #ifndef GL_CHROMIUM_set_overlay_plane |
| 628 #define GL_CHROMIUM_set_overlay_plane 1 |
| 629 #ifdef GL_GLEXT_PROTOTYPES |
| 630 GL_APICALL void GL_APIENTRY glSetOverlayPlaneCHROMIUM(GLint plane_id, |
| 631 GLenum texture_id, |
| 632 GLint x, |
| 633 GLint y, |
| 634 GLint width, |
| 635 GLint height); |
| 636 #endif |
| 637 typedef void(GL_APIENTRYP PFNGLSETOVERLAYPLANECHROMIUMPROC)(GLint x, |
| 638 GLint y, |
| 639 GLint width, |
| 640 GLint height); |
| 641 #endif /* GL_CHROMIUM_set_overlay_plane */ |
| 642 |
626 #ifdef __cplusplus | 643 #ifdef __cplusplus |
627 } | 644 } |
628 #endif | 645 #endif |
629 | 646 |
630 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 647 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |