| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 #endif | 102 #endif |
| 103 #endif /* GL_CHROMIUM_pixel_transfer_buffer_object */ | 103 #endif /* GL_CHROMIUM_pixel_transfer_buffer_object */ |
| 104 | 104 |
| 105 /* GL_CHROMIUM_image */ | 105 /* GL_CHROMIUM_image */ |
| 106 #ifndef GL_CHROMIUM_image | 106 #ifndef GL_CHROMIUM_image |
| 107 #define GL_CHROMIUM_image 1 | 107 #define GL_CHROMIUM_image 1 |
| 108 | 108 |
| 109 typedef struct _ClientBuffer* ClientBuffer; | 109 typedef struct _ClientBuffer* ClientBuffer; |
| 110 | 110 |
| 111 #ifdef GL_GLEXT_PROTOTYPES | 111 #ifdef GL_GLEXT_PROTOTYPES |
| 112 GL_APICALL GLuint GL_APIENTRY glCreateImageCHROMIUM(ClientBuffer buffer, | 112 GL_APICALL GLuint GL_APIENTRY glCreateImageCHROMIUM( |
| 113 GLsizei width, | 113 ClientBuffer* buffers, |
| 114 GLsizei height, | 114 GLsizei width, |
| 115 GLenum internalformat); | 115 GLsizei height, |
| 116 GLenum internalformat); |
| 116 GL_APICALL void GL_APIENTRY glDestroyImageCHROMIUM(GLuint image_id); | 117 GL_APICALL void GL_APIENTRY glDestroyImageCHROMIUM(GLuint image_id); |
| 117 #endif | 118 #endif |
| 118 typedef GLuint(GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC)( | 119 typedef GLuint(GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC)( |
| 119 ClientBuffer buffer, | 120 ClientBuffer* buffers, |
| 120 GLsizei width, | 121 GLsizei width, |
| 121 GLsizei height, | 122 GLsizei height, |
| 122 GLenum internalformat); | 123 GLenum internalformat); |
| 123 typedef void ( | 124 typedef void ( |
| 124 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id); | 125 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id); |
| 125 #endif /* GL_CHROMIUM_image */ | 126 #endif /* GL_CHROMIUM_image */ |
| 126 | 127 |
| 127 /* GL_CHROMIUM_gpu_memory_buffer_image */ | 128 /* GL_CHROMIUM_gpu_memory_buffer_image */ |
| 128 #ifndef GL_CHROMIUM_gpu_memory_buffer_image | 129 #ifndef GL_CHROMIUM_gpu_memory_buffer_image |
| 129 #define GL_CHROMIUM_gpu_memory_buffer_image 1 | 130 #define GL_CHROMIUM_gpu_memory_buffer_image 1 |
| (...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( | 780 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( |
| 780 GLenum matrixMode); | 781 GLenum matrixMode); |
| 781 | 782 |
| 782 #endif /* GL_CHROMIUM_path_rendering */ | 783 #endif /* GL_CHROMIUM_path_rendering */ |
| 783 | 784 |
| 784 #ifdef __cplusplus | 785 #ifdef __cplusplus |
| 785 } | 786 } |
| 786 #endif | 787 #endif |
| 787 | 788 |
| 788 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 789 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |