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

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

Issue 1305153005: Add CHROMIUM_ycbcr_422_image extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address sievers' comments. Created 5 years, 3 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
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 #endif 133 #endif
134 134
135 #ifndef GL_SCANOUT_CHROMIUM 135 #ifndef GL_SCANOUT_CHROMIUM
136 #define GL_SCANOUT_CHROMIUM 0x78F2 136 #define GL_SCANOUT_CHROMIUM 0x78F2
137 #endif 137 #endif
138 138
139 #ifndef GL_RGB_YUV_420_CHROMIUM 139 #ifndef GL_RGB_YUV_420_CHROMIUM
140 #define GL_RGB_YUV_420_CHROMIUM 0x78FA 140 #define GL_RGB_YUV_420_CHROMIUM 0x78FA
141 #endif 141 #endif
142 142
143 #ifndef GL_RGB_YCBCR_422_CHROMIUM
144 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB
145 #endif
146
143 #ifdef GL_GLEXT_PROTOTYPES 147 #ifdef GL_GLEXT_PROTOTYPES
144 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM( 148 GL_APICALL GLuint GL_APIENTRY glCreateGpuMemoryBufferImageCHROMIUM(
145 GLsizei width, 149 GLsizei width,
146 GLsizei height, 150 GLsizei height,
147 GLenum internalformat, 151 GLenum internalformat,
148 GLenum usage); 152 GLenum usage);
149 #endif 153 #endif
150 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)( 154 typedef GLuint(GL_APIENTRYP PFNGLCREATEGPUMEMORYBUFFERIMAGECHROMIUMPROC)(
151 GLsizei width, 155 GLsizei width,
152 GLsizei height, 156 GLsizei height,
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9 988 #define GL_PATH_STENCIL_VALUE_MASK_CHROMIUM 0x90B9
985 #endif 989 #endif
986 990
987 #endif /* GL_CHROMIUM_path_rendering */ 991 #endif /* GL_CHROMIUM_path_rendering */
988 992
989 #ifdef __cplusplus 993 #ifdef __cplusplus
990 } 994 }
991 #endif 995 #endif
992 996
993 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_ 997 #endif // GPU_GLES2_GL2EXTCHROMIUM_H_
OLDNEW
« no previous file with comments | « gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_422_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