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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 bool IsValid(const GLint value) const; | 216 bool IsValid(const GLint value) const; |
217 }; | 217 }; |
218 PathParameterJoinValuesValidator path_parameter_join_values; | 218 PathParameterJoinValuesValidator path_parameter_join_values; |
219 | 219 |
220 class PathTransformTypeValidator { | 220 class PathTransformTypeValidator { |
221 public: | 221 public: |
222 bool IsValid(const GLenum value) const; | 222 bool IsValid(const GLenum value) const; |
223 }; | 223 }; |
224 PathTransformTypeValidator path_transform_type; | 224 PathTransformTypeValidator path_transform_type; |
225 | 225 |
| 226 class PerformanceHintModeValidator { |
| 227 public: |
| 228 bool IsValid(const GLenum value) const; |
| 229 }; |
| 230 PerformanceHintModeValidator performance_hint_mode; |
| 231 |
226 ValueValidator<GLenum> pixel_store; | 232 ValueValidator<GLenum> pixel_store; |
227 class PixelStoreAlignmentValidator { | 233 class PixelStoreAlignmentValidator { |
228 public: | 234 public: |
229 bool IsValid(const GLint value) const; | 235 bool IsValid(const GLint value) const; |
230 }; | 236 }; |
231 PixelStoreAlignmentValidator pixel_store_alignment; | 237 PixelStoreAlignmentValidator pixel_store_alignment; |
232 | 238 |
233 ValueValidator<GLenum> pixel_type; | 239 ValueValidator<GLenum> pixel_type; |
234 class ProgramParameterValidator { | 240 class ProgramParameterValidator { |
235 public: | 241 public: |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 public: | 400 public: |
395 bool IsValid(const GLenum value) const; | 401 bool IsValid(const GLenum value) const; |
396 }; | 402 }; |
397 VertexAttribITypeValidator vertex_attrib_i_type; | 403 VertexAttribITypeValidator vertex_attrib_i_type; |
398 | 404 |
399 ValueValidator<GLenum> vertex_attrib_type; | 405 ValueValidator<GLenum> vertex_attrib_type; |
400 ValueValidator<GLenum> vertex_attribute; | 406 ValueValidator<GLenum> vertex_attribute; |
401 ValueValidator<GLenum> vertex_pointer; | 407 ValueValidator<GLenum> vertex_pointer; |
402 | 408 |
403 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 409 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
OLD | NEW |