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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.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
« no previous file with comments | « gpu/command_buffer/common/capabilities.cc ('k') | gpu/command_buffer/service/feature_info.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 { 246 {
247 0x8A51, "GL_RGB_RAW_422_APPLE", 247 0x8A51, "GL_RGB_RAW_422_APPLE",
248 }, 248 },
249 { 249 {
250 0x87F9, "GL_3DC_X_AMD", 250 0x87F9, "GL_3DC_X_AMD",
251 }, 251 },
252 { 252 {
253 0x8A53, "GL_SYNC_OBJECT_APPLE", 253 0x8A53, "GL_SYNC_OBJECT_APPLE",
254 }, 254 },
255 { 255 {
256 0x78FB, "GL_RGB_YCBCR_422_CHROMIUM",
257 },
258 {
256 0x8DF8, "GL_SHADER_BINARY_FORMATS", 259 0x8DF8, "GL_SHADER_BINARY_FORMATS",
257 }, 260 },
258 { 261 {
259 0x8DF9, "GL_NUM_SHADER_BINARY_FORMATS", 262 0x8DF9, "GL_NUM_SHADER_BINARY_FORMATS",
260 }, 263 },
261 { 264 {
262 0x826D, "GL_DEBUG_GROUP_STACK_DEPTH_KHR", 265 0x826D, "GL_DEBUG_GROUP_STACK_DEPTH_KHR",
263 }, 266 },
264 { 267 {
265 0x8E75, "GL_TESS_CONTROL_OUTPUT_VERTICES_EXT", 268 0x8E75, "GL_TESS_CONTROL_OUTPUT_VERTICES_EXT",
(...skipping 3646 matching lines...) Expand 10 before | Expand all | Expand 10 after
3912 "GL_FRAGMENT_SHADER_DERIVATIVE_HINT"}, 3915 "GL_FRAGMENT_SHADER_DERIVATIVE_HINT"},
3913 }; 3916 };
3914 return GLES2Util::GetQualifiedEnumString(string_table, 3917 return GLES2Util::GetQualifiedEnumString(string_table,
3915 arraysize(string_table), value); 3918 arraysize(string_table), value);
3916 } 3919 }
3917 3920
3918 std::string GLES2Util::GetStringImageInternalFormat(uint32_t value) { 3921 std::string GLES2Util::GetStringImageInternalFormat(uint32_t value) {
3919 static const EnumToString string_table[] = { 3922 static const EnumToString string_table[] = {
3920 {GL_RGB, "GL_RGB"}, 3923 {GL_RGB, "GL_RGB"},
3921 {GL_RGB_YUV_420_CHROMIUM, "GL_RGB_YUV_420_CHROMIUM"}, 3924 {GL_RGB_YUV_420_CHROMIUM, "GL_RGB_YUV_420_CHROMIUM"},
3925 {GL_RGB_YCBCR_422_CHROMIUM, "GL_RGB_YCBCR_422_CHROMIUM"},
3922 {GL_RGBA, "GL_RGBA"}, 3926 {GL_RGBA, "GL_RGBA"},
3923 }; 3927 };
3924 return GLES2Util::GetQualifiedEnumString(string_table, 3928 return GLES2Util::GetQualifiedEnumString(string_table,
3925 arraysize(string_table), value); 3929 arraysize(string_table), value);
3926 } 3930 }
3927 3931
3928 std::string GLES2Util::GetStringImageUsage(uint32_t value) { 3932 std::string GLES2Util::GetStringImageUsage(uint32_t value) {
3929 static const EnumToString string_table[] = { 3933 static const EnumToString string_table[] = {
3930 {GL_MAP_CHROMIUM, "GL_MAP_CHROMIUM"}, 3934 {GL_MAP_CHROMIUM, "GL_MAP_CHROMIUM"},
3931 {GL_SCANOUT_CHROMIUM, "GL_SCANOUT_CHROMIUM"}, 3935 {GL_SCANOUT_CHROMIUM, "GL_SCANOUT_CHROMIUM"},
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
4792 4796
4793 std::string GLES2Util::GetStringVertexPointer(uint32_t value) { 4797 std::string GLES2Util::GetStringVertexPointer(uint32_t value) {
4794 static const EnumToString string_table[] = { 4798 static const EnumToString string_table[] = {
4795 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"}, 4799 {GL_VERTEX_ATTRIB_ARRAY_POINTER, "GL_VERTEX_ATTRIB_ARRAY_POINTER"},
4796 }; 4800 };
4797 return GLES2Util::GetQualifiedEnumString(string_table, 4801 return GLES2Util::GetQualifiedEnumString(string_table,
4798 arraysize(string_table), value); 4802 arraysize(string_table), value);
4799 } 4803 }
4800 4804
4801 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_ 4805 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_IMPLEMENTATION_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/capabilities.cc ('k') | gpu/command_buffer/service/feature_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698