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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 | 710 |
711 /* GL_CHROMIUM_sync_query */ | 711 /* GL_CHROMIUM_sync_query */ |
712 #ifndef GL_CHROMIUM_sync_query | 712 #ifndef GL_CHROMIUM_sync_query |
713 #define GL_CHROMIUM_sync_query 1 | 713 #define GL_CHROMIUM_sync_query 1 |
714 | 714 |
715 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM | 715 #ifndef GL_COMMANDS_COMPLETED_CHROMIUM |
716 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 716 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
717 #endif | 717 #endif |
718 #endif /* GL_CHROMIUM_sync_query */ | 718 #endif /* GL_CHROMIUM_sync_query */ |
719 | 719 |
| 720 #ifndef GL_CHROMIUM_path_rendering |
| 721 #define GL_CHROMIUM_path_rendering 1 |
| 722 |
| 723 #ifdef GL_GLEXT_PROTOTYPES |
| 724 GL_APICALL void GL_APIENTRY |
| 725 glMatrixLoadfCHROMIUM(GLenum mode, const GLfloat* m); |
| 726 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM(GLenum mode); |
| 727 #endif |
| 728 |
| 729 typedef void(GL_APIENTRYP PFNGLMATRIXLOADFCHROMIUMPROC)(GLenum matrixMode, |
| 730 const GLfloat* m); |
| 731 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( |
| 732 GLenum matrixMode); |
| 733 |
| 734 #endif /* GL_CHROMIUM_path_rendering */ |
| 735 |
720 #ifdef __cplusplus | 736 #ifdef __cplusplus |
721 } | 737 } |
722 #endif | 738 #endif |
723 | 739 |
724 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 740 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |