| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 ValueValidator<GLenum> get_tex_param_target; | 125 ValueValidator<GLenum> get_tex_param_target; |
| 126 class HintModeValidator { | 126 class HintModeValidator { |
| 127 public: | 127 public: |
| 128 bool IsValid(const GLenum value) const; | 128 bool IsValid(const GLenum value) const; |
| 129 }; | 129 }; |
| 130 HintModeValidator hint_mode; | 130 HintModeValidator hint_mode; |
| 131 | 131 |
| 132 ValueValidator<GLenum> hint_target; | 132 ValueValidator<GLenum> hint_target; |
| 133 ValueValidator<GLenum> image_internal_format; | 133 ValueValidator<GLenum> image_internal_format; |
| 134 ValueValidator<GLenum> image_usage; | |
| 135 ValueValidator<GLenum> index_type; | 134 ValueValidator<GLenum> index_type; |
| 136 class IndexedBufferTargetValidator { | 135 class IndexedBufferTargetValidator { |
| 137 public: | 136 public: |
| 138 bool IsValid(const GLenum value) const; | 137 bool IsValid(const GLenum value) const; |
| 139 }; | 138 }; |
| 140 IndexedBufferTargetValidator indexed_buffer_target; | 139 IndexedBufferTargetValidator indexed_buffer_target; |
| 141 | 140 |
| 142 class IndexedGLStateValidator { | 141 class IndexedGLStateValidator { |
| 143 public: | 142 public: |
| 144 bool IsValid(const GLenum value) const; | 143 bool IsValid(const GLenum value) const; |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 public: | 393 public: |
| 395 bool IsValid(const GLenum value) const; | 394 bool IsValid(const GLenum value) const; |
| 396 }; | 395 }; |
| 397 VertexAttribITypeValidator vertex_attrib_i_type; | 396 VertexAttribITypeValidator vertex_attrib_i_type; |
| 398 | 397 |
| 399 ValueValidator<GLenum> vertex_attrib_type; | 398 ValueValidator<GLenum> vertex_attrib_type; |
| 400 ValueValidator<GLenum> vertex_attribute; | 399 ValueValidator<GLenum> vertex_attribute; |
| 401 ValueValidator<GLenum> vertex_pointer; | 400 ValueValidator<GLenum> vertex_pointer; |
| 402 | 401 |
| 403 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 402 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
| OLD | NEW |