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

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

Issue 1419733005: gpu: Add YCbCr 420v extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually enable/disable capabilities. Typo. Created 5 years 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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 #endif 116 #endif
117 117
118 #ifndef GL_RGB_YUV_420_CHROMIUM 118 #ifndef GL_RGB_YUV_420_CHROMIUM
119 #define GL_RGB_YUV_420_CHROMIUM 0x78FA 119 #define GL_RGB_YUV_420_CHROMIUM 0x78FA
120 #endif 120 #endif
121 121
122 #ifndef GL_RGB_YCBCR_422_CHROMIUM 122 #ifndef GL_RGB_YCBCR_422_CHROMIUM
123 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB 123 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB
124 #endif 124 #endif
125 125
126 #ifndef GL_RGB_YCBCR_420V_CHROMIUM
127 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC
128 #endif
129
126 #ifdef GL_GLEXT_PROTOTYPES 130 #ifdef GL_GLEXT_PROTOTYPES
127 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM( 131 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM(
128 GLsizei width, 132 GLsizei width,
129 GLsizei height, 133 GLsizei height,
130 GLenum internalformat, 134 GLenum internalformat,
131 GLenum usage); 135 GLenum usage);
132 #endif 136 #endif
133 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)( 137 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)(
134 GLsizei width, 138 GLsizei width,
135 GLsizei height, 139 GLsizei height,
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 #define GL_EXT_multisample_compatibility 1 1171 #define GL_EXT_multisample_compatibility 1
1168 #define GL_MULTISAMPLE_EXT 0x809D 1172 #define GL_MULTISAMPLE_EXT 0x809D
1169 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F 1173 #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1170 #endif /* GL_EXT_multisample_compatiblity */ 1174 #endif /* GL_EXT_multisample_compatiblity */
1171 1175
1172 #ifdef __cplusplus 1176 #ifdef __cplusplus
1173 } 1177 }
1174 #endif 1178 #endif
1175 1179
1176 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 1180 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_420v_image.txt ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698