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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 GLint bounds_x, | 685 GLint bounds_x, |
686 GLint bounds_y, | 686 GLint bounds_y, |
687 GLint bounds_width, | 687 GLint bounds_width, |
688 GLint bounds_height, | 688 GLint bounds_height, |
689 GLfloat uv_x, | 689 GLfloat uv_x, |
690 GLfloat uv_y, | 690 GLfloat uv_y, |
691 GLfloat uv_width, | 691 GLfloat uv_width, |
692 GLfloat uv_height); | 692 GLfloat uv_height); |
693 #endif /* GL_CHROMIUM_schedule_overlay_plane */ | 693 #endif /* GL_CHROMIUM_schedule_overlay_plane */ |
694 | 694 |
| 695 #ifndef GL_CHROMIUM_path_rendering |
| 696 #define GL_CHROMIUM_path_rendering 1 |
| 697 |
| 698 #ifdef GL_GLEXT_PROTOTYPES |
| 699 GL_APICALL void GL_APIENTRY glMatrixLoadfCHROMIUM(GLenum mode, |
| 700 const GLfloat* m); |
| 701 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM(GLenum mode); |
| 702 #endif |
| 703 |
| 704 typedef void (GL_APIENTRYP PFNGLMATRIXLOADFCHROMIUMPROC) ( |
| 705 GLenum matrixMode, const GLfloat* m); |
| 706 typedef void (GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC) ( |
| 707 GLenum matrixMode); |
| 708 |
| 709 #endif /* GL_CHROMIUM_path_rendering */ |
| 710 |
695 #ifdef __cplusplus | 711 #ifdef __cplusplus |
696 } | 712 } |
697 #endif | 713 #endif |
698 | 714 |
699 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 715 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
OLD | NEW |