Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: gpu/GLES2/gl2extchromium.h

Issue 2648893002: Remove remaining traces of CreateGpuMemoryBufferImageCHROMIUM (Closed)
Patch Set: Rebase, but don't pull in extra changes... Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 #endif 87 #endif
88 typedef GLuint(GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC)( 88 typedef GLuint(GL_APIENTRYP PFNGLCREATEIMAGECHROMIUMPROC)(
89 ClientBuffer buffer, 89 ClientBuffer buffer,
90 GLsizei width, 90 GLsizei width,
91 GLsizei height, 91 GLsizei height,
92 GLenum internalformat); 92 GLenum internalformat);
93 typedef void ( 93 typedef void (
94 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id); 94 GL_APIENTRYP PFNGLDESTROYIMAGECHROMIUMPROC)(GLuint image_id);
95 #endif /* GL_CHROMIUM_image */ 95 #endif /* GL_CHROMIUM_image */
96 96
97 /* GL_CHROMIUM_gpu_memory_buffer_image */
98 #ifndef GL_CHROMIUM_gpu_memory_buffer_image
99 #define GL_CHROMIUM_gpu_memory_buffer_image 1
100
101 #ifndef GL_READ_WRITE_CHROMIUM
102 #define GL_READ_WRITE_CHROMIUM 0x78F2
103 #endif
104
105 #ifndef GL_RGB_YCRCB_420_CHROMIUM 97 #ifndef GL_RGB_YCRCB_420_CHROMIUM
106 #define GL_RGB_YCRCB_420_CHROMIUM 0x78FA 98 #define GL_RGB_YCRCB_420_CHROMIUM 0x78FA
107 #endif 99 #endif
108 100
109 #ifndef GL_RGB_YCBCR_422_CHROMIUM 101 #ifndef GL_RGB_YCBCR_422_CHROMIUM
110 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB 102 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB
111 #endif 103 #endif
112 104
113 #ifndef GL_RGB_YCBCR_420V_CHROMIUM 105 #ifndef GL_RGB_YCBCR_420V_CHROMIUM
114 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC 106 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC
115 #endif 107 #endif
116 108
117 #ifdef GL_GLEXT_PROTOTYPES
118 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM(
119 GLsizei width,
120 GLsizei height,
121 GLenum internalformat,
122 GLenum usage);
123 #endif
124 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)(
125 GLsizei width,
126 GLsizei height,
127 GLenum internalformat,
128 GLenum usage);
129 #endif /* GL_CHROMIUM_gpu_memory_buffer_image */
130
131 /* GL_CHROMIUM_deschedule */ 109 /* GL_CHROMIUM_deschedule */
132 #ifndef GL_CHROMIUM_deschedule 110 #ifndef GL_CHROMIUM_deschedule
133 #define GL_CHROMIUM_deschedule 1 111 #define GL_CHROMIUM_deschedule 1
134 #ifdef GL_GLEXT_PROTOTYPES 112 #ifdef GL_GLEXT_PROTOTYPES
135 GL_APICALL void GL_APIENTRY glDescheduleUntilFinishedCHROMIUM(); 113 GL_APICALL void GL_APIENTRY glDescheduleUntilFinishedCHROMIUM();
136 #endif 114 #endif
137 typedef void(GL_APIENTRYP PFNGLDESCHEDULEUNTILFINISHEDCHROMIUM)(); 115 typedef void(GL_APIENTRYP PFNGLDESCHEDULEUNTILFINISHEDCHROMIUM)();
138 #endif /* GL_CHROMIUM_deschedule */ 116 #endif /* GL_CHROMIUM_deschedule */
139 117
140 /* GL_CHROMIUM_map_sub */ 118 /* GL_CHROMIUM_map_sub */
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 #ifndef GL_ARB_occlusion_query 1196 #ifndef GL_ARB_occlusion_query
1219 #define GL_ARB_occlusion_query 1 1197 #define GL_ARB_occlusion_query 1
1220 #define GL_SAMPLES_PASSED_ARB 0x8914 1198 #define GL_SAMPLES_PASSED_ARB 0x8914
1221 #endif /* GL_ARB_occlusion_query */ 1199 #endif /* GL_ARB_occlusion_query */
1222 1200
1223 #ifdef __cplusplus 1201 #ifdef __cplusplus
1224 } 1202 }
1225 #endif 1203 #endif
1226 1204
1227 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1205 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/gl2chromium_autogen.h ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698