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

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

Issue 894373004: Add glGetActiveUniformBlockiv to GPU command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win bots Created 5 years, 10 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/service/gles2_cmd_validation_autogen.h ('k') | no next file » | 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 static const GLenum valid_transform_feedback_bind_target_table[] = { 545 static const GLenum valid_transform_feedback_bind_target_table[] = {
546 GL_TRANSFORM_FEEDBACK, 546 GL_TRANSFORM_FEEDBACK,
547 }; 547 };
548 548
549 static const GLenum valid_transform_feedback_primitive_mode_table[] = { 549 static const GLenum valid_transform_feedback_primitive_mode_table[] = {
550 GL_POINTS, 550 GL_POINTS,
551 GL_LINES, 551 GL_LINES,
552 GL_TRIANGLES, 552 GL_TRIANGLES,
553 }; 553 };
554 554
555 static const GLenum valid_uniform_block_parameter_table[] = {
556 GL_UNIFORM_BLOCK_BINDING,
557 GL_UNIFORM_BLOCK_DATA_SIZE,
558 GL_UNIFORM_BLOCK_NAME_LENGTH,
559 GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS,
560 GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES,
561 GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER,
562 GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER,
563 };
564
555 static const GLenum valid_value_buffer_target_table[] = { 565 static const GLenum valid_value_buffer_target_table[] = {
556 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM, 566 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM,
557 }; 567 };
558 568
559 static const GLint valid_vertex_attrib_size_table[] = { 569 static const GLint valid_vertex_attrib_size_table[] = {
560 1, 570 1,
561 2, 571 2,
562 3, 572 3,
563 4, 573 4,
564 }; 574 };
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 texture_usage(valid_texture_usage_table, 701 texture_usage(valid_texture_usage_table,
692 arraysize(valid_texture_usage_table)), 702 arraysize(valid_texture_usage_table)),
693 texture_wrap_mode(valid_texture_wrap_mode_table, 703 texture_wrap_mode(valid_texture_wrap_mode_table,
694 arraysize(valid_texture_wrap_mode_table)), 704 arraysize(valid_texture_wrap_mode_table)),
695 transform_feedback_bind_target( 705 transform_feedback_bind_target(
696 valid_transform_feedback_bind_target_table, 706 valid_transform_feedback_bind_target_table,
697 arraysize(valid_transform_feedback_bind_target_table)), 707 arraysize(valid_transform_feedback_bind_target_table)),
698 transform_feedback_primitive_mode( 708 transform_feedback_primitive_mode(
699 valid_transform_feedback_primitive_mode_table, 709 valid_transform_feedback_primitive_mode_table,
700 arraysize(valid_transform_feedback_primitive_mode_table)), 710 arraysize(valid_transform_feedback_primitive_mode_table)),
711 uniform_block_parameter(valid_uniform_block_parameter_table,
712 arraysize(valid_uniform_block_parameter_table)),
701 value_buffer_target(valid_value_buffer_target_table, 713 value_buffer_target(valid_value_buffer_target_table,
702 arraysize(valid_value_buffer_target_table)), 714 arraysize(valid_value_buffer_target_table)),
703 vertex_attrib_size(valid_vertex_attrib_size_table, 715 vertex_attrib_size(valid_vertex_attrib_size_table,
704 arraysize(valid_vertex_attrib_size_table)), 716 arraysize(valid_vertex_attrib_size_table)),
705 vertex_attrib_type(valid_vertex_attrib_type_table, 717 vertex_attrib_type(valid_vertex_attrib_type_table,
706 arraysize(valid_vertex_attrib_type_table)), 718 arraysize(valid_vertex_attrib_type_table)),
707 vertex_attribute(valid_vertex_attribute_table, 719 vertex_attribute(valid_vertex_attribute_table,
708 arraysize(valid_vertex_attribute_table)), 720 arraysize(valid_vertex_attribute_table)),
709 vertex_pointer(valid_vertex_pointer_table, 721 vertex_pointer(valid_vertex_pointer_table,
710 arraysize(valid_vertex_pointer_table)) { 722 arraysize(valid_vertex_pointer_table)) {
711 } 723 }
712 724
713 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 725 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698