| 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(ClientBuffer* buffers, |
| 113 GLsizei width, | 113 GLsizei width, |
| 114 GLsizei height, | 114 GLsizei height, |
| 115 GLenum internalformat); | 115 GLenum internalformat); |
| 116 GL_APICALL void GL_APIENTRY glDestroyImageCHROMIUM(GLuint image_id); | 116 GL_APICALL void GL_APIENTRY glDestroyImageCHROMIUM(GLuint image_id); |
| 117 #endif | 117 #endif |
| 118 typedef GLuint(GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC)( | 118 typedef GLuint(GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC)( |
| 119 ClientBuffer buffer, | 119 ClientBuffer* buffers, |
| 120 GLsizei width, | 120 GLsizei width, |
| 121 GLsizei height, | 121 GLsizei height, |
| 122 GLenum internalformat); | 122 GLenum internalformat); |
| 123 typedef void ( | 123 typedef void ( |
| 124 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id); | 124 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id); |
| 125 #endif /* GL_CHROMIUM_image */ | 125 #endif /* GL_CHROMIUM_image */ |
| 126 | 126 |
| 127 /* GL_CHROMIUM_gpu_memory_buffer_image */ | 127 /* GL_CHROMIUM_gpu_memory_buffer_image */ |
| 128 #ifndef GL_CHROMIUM_gpu_memory_buffer_image | 128 #ifndef GL_CHROMIUM_gpu_memory_buffer_image |
| 129 #define GL_CHROMIUM_gpu_memory_buffer_image 1 | 129 #define GL_CHROMIUM_gpu_memory_buffer_image 1 |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( | 763 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)( |
| 764 GLenum matrixMode); | 764 GLenum matrixMode); |
| 765 | 765 |
| 766 #endif /* GL_CHROMIUM_path_rendering */ | 766 #endif /* GL_CHROMIUM_path_rendering */ |
| 767 | 767 |
| 768 #ifdef __cplusplus | 768 #ifdef __cplusplus |
| 769 } | 769 } |
| 770 #endif | 770 #endif |
| 771 | 771 |
| 772 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ | 772 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ |
| OLD | NEW |