OLD | NEW |
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 ValueValidator<GLenum> bufferuiv; | 85 ValueValidator<GLenum> bufferuiv; |
86 ValueValidator<GLenum> capability; | 86 ValueValidator<GLenum> capability; |
87 class CmpFunctionValidator { | 87 class CmpFunctionValidator { |
88 public: | 88 public: |
89 bool IsValid(const GLenum value) const; | 89 bool IsValid(const GLenum value) const; |
90 }; | 90 }; |
91 CmpFunctionValidator cmp_function; | 91 CmpFunctionValidator cmp_function; |
92 | 92 |
93 ValueValidator<GLenum> compressed_texture_format; | 93 ValueValidator<GLenum> compressed_texture_format; |
| 94 ValueValidator<GLenum> coverage_modulation_components; |
94 class DrawModeValidator { | 95 class DrawModeValidator { |
95 public: | 96 public: |
96 bool IsValid(const GLenum value) const; | 97 bool IsValid(const GLenum value) const; |
97 }; | 98 }; |
98 DrawModeValidator draw_mode; | 99 DrawModeValidator draw_mode; |
99 | 100 |
100 ValueValidator<GLenum> dst_blend_factor; | 101 ValueValidator<GLenum> dst_blend_factor; |
101 ValueValidator<GLenum> equation; | 102 ValueValidator<GLenum> equation; |
102 class FaceModeValidator { | 103 class FaceModeValidator { |
103 public: | 104 public: |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 public: | 383 public: |
383 bool IsValid(const GLenum value) const; | 384 bool IsValid(const GLenum value) const; |
384 }; | 385 }; |
385 VertexAttribITypeValidator vertex_attrib_i_type; | 386 VertexAttribITypeValidator vertex_attrib_i_type; |
386 | 387 |
387 ValueValidator<GLenum> vertex_attrib_type; | 388 ValueValidator<GLenum> vertex_attrib_type; |
388 ValueValidator<GLenum> vertex_attribute; | 389 ValueValidator<GLenum> vertex_attribute; |
389 ValueValidator<GLenum> vertex_pointer; | 390 ValueValidator<GLenum> vertex_pointer; |
390 | 391 |
391 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 392 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
OLD | NEW |