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

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

Issue 2134793002: Remove the command buffer method glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflict. Created 4 years, 5 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 #endif 107 #endif
108 108
109 #ifndef GL_RGB_YCBCR_422_CHROMIUM 109 #ifndef GL_RGB_YCBCR_422_CHROMIUM
110 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB 110 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB
111 #endif 111 #endif
112 112
113 #ifndef GL_RGB_YCBCR_420V_CHROMIUM 113 #ifndef GL_RGB_YCBCR_420V_CHROMIUM
114 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC 114 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC
115 #endif 115 #endif
116 116
117 #ifndef GL_GPU_MEMORY_BUFFER_ID
118 #define GL_GPU_MEMORY_BUFFER_ID 0x78FD
119 #endif
120
121 #ifdef GL_GLEXT_PROTOTYPES 117 #ifdef GL_GLEXT_PROTOTYPES
122 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM( 118 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM(
123 GLsizei width, 119 GLsizei width,
124 GLsizei height, 120 GLsizei height,
125 GLenum internalformat, 121 GLenum internalformat,
126 GLenum usage); 122 GLenum usage);
127
128 GL_APICALL void GL_APIENTRY glGetImageivCHROMIUM(
129 GLuint image_id,
130 GLenum param,
131 GLint* data);
132 #endif 123 #endif
133 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)( 124 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)(
134 GLsizei width, 125 GLsizei width,
135 GLsizei height, 126 GLsizei height,
136 GLenum internalformat, 127 GLenum internalformat,
137 GLenum usage); 128 GLenum usage);
138 typedef GLint(GL_APIENTRYP PFNGLGETIMAGEIVCHROMIUMPROC)(
139 GLuint image_id,
140 GLenum param);
141 #endif /* GL_CHROMIUM_gpu_memory_buffer_image */ 129 #endif /* GL_CHROMIUM_gpu_memory_buffer_image */
142 130
143 /* GL_CHROMIUM_deschedule */ 131 /* GL_CHROMIUM_deschedule */
144 #ifndef GL_CHROMIUM_deschedule 132 #ifndef GL_CHROMIUM_deschedule
145 #define GL_CHROMIUM_deschedule 1 133 #define GL_CHROMIUM_deschedule 1
146 #ifdef GL_GLEXT_PROTOTYPES 134 #ifdef GL_GLEXT_PROTOTYPES
147 GL_APICALL void GL_APIENTRY glDescheduleUntilFinishedCHROMIUM(); 135 GL_APICALL void GL_APIENTRY glDescheduleUntilFinishedCHROMIUM();
148 #endif 136 #endif
149 typedef void(GL_APIENTRYP PFNGLDESCHEDULEUNTILFINISHEDCHROMIUM)(); 137 typedef void(GL_APIENTRYP PFNGLDESCHEDULEUNTILFINISHEDCHROMIUM)();
150 #endif /* GL_CHROMIUM_deschedule */ 138 #endif /* GL_CHROMIUM_deschedule */
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components); 1199 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
1212 #endif 1200 #endif
1213 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332 1201 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
1214 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */ 1202 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
1215 1203
1216 #ifdef __cplusplus 1204 #ifdef __cplusplus
1217 } 1205 }
1218 #endif 1206 #endif
1219 1207
1220 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1208 #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