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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 659903002: Add subscribeUniform extension pipeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V3 API Created 6 years, 1 month 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 }; 406 };
407 407
408 static const GLenum valid_string_type_table[] = { 408 static const GLenum valid_string_type_table[] = {
409 GL_VENDOR, 409 GL_VENDOR,
410 GL_RENDERER, 410 GL_RENDERER,
411 GL_VERSION, 411 GL_VERSION,
412 GL_SHADING_LANGUAGE_VERSION, 412 GL_SHADING_LANGUAGE_VERSION,
413 GL_EXTENSIONS, 413 GL_EXTENSIONS,
414 }; 414 };
415 415
416 static const GLenum valid_subscription_target_table[] = {
417 GL_MOUSE_POSITION_CHROMIUM,
418 };
419
416 static const GLenum valid_texture_bind_target_table[] = { 420 static const GLenum valid_texture_bind_target_table[] = {
417 GL_TEXTURE_2D, 421 GL_TEXTURE_2D,
418 GL_TEXTURE_CUBE_MAP, 422 GL_TEXTURE_CUBE_MAP,
419 }; 423 };
420 424
421 static const GLenum valid_texture_format_table[] = { 425 static const GLenum valid_texture_format_table[] = {
422 GL_ALPHA, 426 GL_ALPHA,
423 GL_LUMINANCE, 427 GL_LUMINANCE,
424 GL_LUMINANCE_ALPHA, 428 GL_LUMINANCE_ALPHA,
425 GL_RGB, 429 GL_RGB,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 GL_NONE, 490 GL_NONE,
487 GL_FRAMEBUFFER_ATTACHMENT_ANGLE, 491 GL_FRAMEBUFFER_ATTACHMENT_ANGLE,
488 }; 492 };
489 493
490 static const GLenum valid_texture_wrap_mode_table[] = { 494 static const GLenum valid_texture_wrap_mode_table[] = {
491 GL_CLAMP_TO_EDGE, 495 GL_CLAMP_TO_EDGE,
492 GL_MIRRORED_REPEAT, 496 GL_MIRRORED_REPEAT,
493 GL_REPEAT, 497 GL_REPEAT,
494 }; 498 };
495 499
500 static const GLenum valid_value_buffer_target_table[] = {
501 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM,
502 };
503
496 static const GLint valid_vertex_attrib_size_table[] = { 504 static const GLint valid_vertex_attrib_size_table[] = {
497 1, 505 1,
498 2, 506 2,
499 3, 507 3,
500 4, 508 4,
501 }; 509 };
502 510
503 static const GLenum valid_vertex_attrib_type_table[] = { 511 static const GLenum valid_vertex_attrib_type_table[] = {
504 GL_BYTE, 512 GL_BYTE,
505 GL_UNSIGNED_BYTE, 513 GL_UNSIGNED_BYTE,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 shader_binary_format(), 594 shader_binary_format(),
587 shader_parameter(valid_shader_parameter_table, 595 shader_parameter(valid_shader_parameter_table,
588 arraysize(valid_shader_parameter_table)), 596 arraysize(valid_shader_parameter_table)),
589 shader_precision(valid_shader_precision_table, 597 shader_precision(valid_shader_precision_table,
590 arraysize(valid_shader_precision_table)), 598 arraysize(valid_shader_precision_table)),
591 shader_type(valid_shader_type_table, arraysize(valid_shader_type_table)), 599 shader_type(valid_shader_type_table, arraysize(valid_shader_type_table)),
592 src_blend_factor(valid_src_blend_factor_table, 600 src_blend_factor(valid_src_blend_factor_table,
593 arraysize(valid_src_blend_factor_table)), 601 arraysize(valid_src_blend_factor_table)),
594 stencil_op(valid_stencil_op_table, arraysize(valid_stencil_op_table)), 602 stencil_op(valid_stencil_op_table, arraysize(valid_stencil_op_table)),
595 string_type(valid_string_type_table, arraysize(valid_string_type_table)), 603 string_type(valid_string_type_table, arraysize(valid_string_type_table)),
604 subscription_target(valid_subscription_target_table,
605 arraysize(valid_subscription_target_table)),
596 texture_bind_target(valid_texture_bind_target_table, 606 texture_bind_target(valid_texture_bind_target_table,
597 arraysize(valid_texture_bind_target_table)), 607 arraysize(valid_texture_bind_target_table)),
598 texture_format(valid_texture_format_table, 608 texture_format(valid_texture_format_table,
599 arraysize(valid_texture_format_table)), 609 arraysize(valid_texture_format_table)),
600 texture_internal_format(valid_texture_internal_format_table, 610 texture_internal_format(valid_texture_internal_format_table,
601 arraysize(valid_texture_internal_format_table)), 611 arraysize(valid_texture_internal_format_table)),
602 texture_internal_format_storage( 612 texture_internal_format_storage(
603 valid_texture_internal_format_storage_table, 613 valid_texture_internal_format_storage_table,
604 arraysize(valid_texture_internal_format_storage_table)), 614 arraysize(valid_texture_internal_format_storage_table)),
605 texture_mag_filter_mode(valid_texture_mag_filter_mode_table, 615 texture_mag_filter_mode(valid_texture_mag_filter_mode_table,
606 arraysize(valid_texture_mag_filter_mode_table)), 616 arraysize(valid_texture_mag_filter_mode_table)),
607 texture_min_filter_mode(valid_texture_min_filter_mode_table, 617 texture_min_filter_mode(valid_texture_min_filter_mode_table,
608 arraysize(valid_texture_min_filter_mode_table)), 618 arraysize(valid_texture_min_filter_mode_table)),
609 texture_parameter(valid_texture_parameter_table, 619 texture_parameter(valid_texture_parameter_table,
610 arraysize(valid_texture_parameter_table)), 620 arraysize(valid_texture_parameter_table)),
611 texture_pool(valid_texture_pool_table, 621 texture_pool(valid_texture_pool_table,
612 arraysize(valid_texture_pool_table)), 622 arraysize(valid_texture_pool_table)),
613 texture_target(valid_texture_target_table, 623 texture_target(valid_texture_target_table,
614 arraysize(valid_texture_target_table)), 624 arraysize(valid_texture_target_table)),
615 texture_usage(valid_texture_usage_table, 625 texture_usage(valid_texture_usage_table,
616 arraysize(valid_texture_usage_table)), 626 arraysize(valid_texture_usage_table)),
617 texture_wrap_mode(valid_texture_wrap_mode_table, 627 texture_wrap_mode(valid_texture_wrap_mode_table,
618 arraysize(valid_texture_wrap_mode_table)), 628 arraysize(valid_texture_wrap_mode_table)),
629 value_buffer_target(valid_value_buffer_target_table,
630 arraysize(valid_value_buffer_target_table)),
619 vertex_attrib_size(valid_vertex_attrib_size_table, 631 vertex_attrib_size(valid_vertex_attrib_size_table,
620 arraysize(valid_vertex_attrib_size_table)), 632 arraysize(valid_vertex_attrib_size_table)),
621 vertex_attrib_type(valid_vertex_attrib_type_table, 633 vertex_attrib_type(valid_vertex_attrib_type_table,
622 arraysize(valid_vertex_attrib_type_table)), 634 arraysize(valid_vertex_attrib_type_table)),
623 vertex_attribute(valid_vertex_attribute_table, 635 vertex_attribute(valid_vertex_attribute_table,
624 arraysize(valid_vertex_attribute_table)), 636 arraysize(valid_vertex_attribute_table)),
625 vertex_pointer(valid_vertex_pointer_table, 637 vertex_pointer(valid_vertex_pointer_table,
626 arraysize(valid_vertex_pointer_table)) { 638 arraysize(valid_vertex_pointer_table)) {
627 } 639 }
628 640
629 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 641 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698