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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_validation_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
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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 356
357 static const GLenum valid_hint_target_table[] = { 357 static const GLenum valid_hint_target_table[] = {
358 GL_GENERATE_MIPMAP_HINT, 358 GL_GENERATE_MIPMAP_HINT,
359 }; 359 };
360 360
361 static const GLenum valid_hint_target_table_es3[] = { 361 static const GLenum valid_hint_target_table_es3[] = {
362 GL_FRAGMENT_SHADER_DERIVATIVE_HINT, 362 GL_FRAGMENT_SHADER_DERIVATIVE_HINT,
363 }; 363 };
364 364
365 static const GLenum valid_image_internal_format_table[] = { 365 static const GLenum valid_image_internal_format_table[] = {
366 GL_RGB, GL_RGB_YUV_420_CHROMIUM, GL_RGBA, 366 GL_RGB, GL_RGB_YUV_420_CHROMIUM, GL_RGB_YCBCR_422_CHROMIUM, GL_RGBA,
367 }; 367 };
368 368
369 static const GLenum valid_image_usage_table[] = { 369 static const GLenum valid_image_usage_table[] = {
370 GL_MAP_CHROMIUM, GL_SCANOUT_CHROMIUM, 370 GL_MAP_CHROMIUM, GL_SCANOUT_CHROMIUM,
371 }; 371 };
372 372
373 static const GLenum valid_index_type_table[] = { 373 static const GLenum valid_index_type_table[] = {
374 GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, 374 GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT,
375 }; 375 };
376 376
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 arraysize(valid_texture_internal_format_storage_table_es3)); 1191 arraysize(valid_texture_internal_format_storage_table_es3));
1192 texture_parameter.AddValues(valid_texture_parameter_table_es3, 1192 texture_parameter.AddValues(valid_texture_parameter_table_es3,
1193 arraysize(valid_texture_parameter_table_es3)); 1193 arraysize(valid_texture_parameter_table_es3));
1194 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, 1194 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3,
1195 arraysize(valid_vertex_attrib_type_table_es3)); 1195 arraysize(valid_vertex_attrib_type_table_es3));
1196 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, 1196 vertex_attribute.AddValues(valid_vertex_attribute_table_es3,
1197 arraysize(valid_vertex_attribute_table_es3)); 1197 arraysize(valid_vertex_attribute_table_es3));
1198 } 1198 }
1199 1199
1200 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 1200 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/tests/gl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698