| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ValueValidator<GLenum> coverage_modulation_components; |
| 95 ValueValidator<GLenum> custom_matrix_parameter; |
| 95 class DrawModeValidator { | 96 class DrawModeValidator { |
| 96 public: | 97 public: |
| 97 bool IsValid(const GLenum value) const; | 98 bool IsValid(const GLenum value) const; |
| 98 }; | 99 }; |
| 99 DrawModeValidator draw_mode; | 100 DrawModeValidator draw_mode; |
| 100 | 101 |
| 101 ValueValidator<GLenum> dst_blend_factor; | 102 ValueValidator<GLenum> dst_blend_factor; |
| 102 ValueValidator<GLenum> equation; | 103 ValueValidator<GLenum> equation; |
| 103 class FaceModeValidator { | 104 class FaceModeValidator { |
| 104 public: | 105 public: |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 public: | 389 public: |
| 389 bool IsValid(const GLenum value) const; | 390 bool IsValid(const GLenum value) const; |
| 390 }; | 391 }; |
| 391 VertexAttribITypeValidator vertex_attrib_i_type; | 392 VertexAttribITypeValidator vertex_attrib_i_type; |
| 392 | 393 |
| 393 ValueValidator<GLenum> vertex_attrib_type; | 394 ValueValidator<GLenum> vertex_attrib_type; |
| 394 ValueValidator<GLenum> vertex_attribute; | 395 ValueValidator<GLenum> vertex_attribute; |
| 395 ValueValidator<GLenum> vertex_pointer; | 396 ValueValidator<GLenum> vertex_pointer; |
| 396 | 397 |
| 397 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 398 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
| OLD | NEW |