| 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 }; | 310 }; |
| 311 SyncParameterValidator sync_parameter; | 311 SyncParameterValidator sync_parameter; |
| 312 | 312 |
| 313 class Texture3DTargetValidator { | 313 class Texture3DTargetValidator { |
| 314 public: | 314 public: |
| 315 bool IsValid(const GLenum value) const; | 315 bool IsValid(const GLenum value) const; |
| 316 }; | 316 }; |
| 317 Texture3DTargetValidator texture_3_d_target; | 317 Texture3DTargetValidator texture_3_d_target; |
| 318 | 318 |
| 319 ValueValidator<GLenum> texture_bind_target; | 319 ValueValidator<GLenum> texture_bind_target; |
| 320 class TextureBufferUsageValidator { | |
| 321 public: | |
| 322 bool IsValid(const GLenum value) const; | |
| 323 }; | |
| 324 TextureBufferUsageValidator texture_buffer_usage; | |
| 325 | |
| 326 class TextureCompareFuncValidator { | 320 class TextureCompareFuncValidator { |
| 327 public: | 321 public: |
| 328 bool IsValid(const GLenum value) const; | 322 bool IsValid(const GLenum value) const; |
| 329 }; | 323 }; |
| 330 TextureCompareFuncValidator texture_compare_func; | 324 TextureCompareFuncValidator texture_compare_func; |
| 331 | 325 |
| 332 ValueValidator<GLenum> texture_compare_mode; | 326 ValueValidator<GLenum> texture_compare_mode; |
| 333 ValueValidator<GLenum> texture_depth_renderable_internal_format; | 327 ValueValidator<GLenum> texture_depth_renderable_internal_format; |
| 334 ValueValidator<GLenum> texture_format; | 328 ValueValidator<GLenum> texture_format; |
| 335 ValueValidator<GLenum> texture_internal_format; | 329 ValueValidator<GLenum> texture_internal_format; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 public: | 393 public: |
| 400 bool IsValid(const GLenum value) const; | 394 bool IsValid(const GLenum value) const; |
| 401 }; | 395 }; |
| 402 VertexAttribITypeValidator vertex_attrib_i_type; | 396 VertexAttribITypeValidator vertex_attrib_i_type; |
| 403 | 397 |
| 404 ValueValidator<GLenum> vertex_attrib_type; | 398 ValueValidator<GLenum> vertex_attrib_type; |
| 405 ValueValidator<GLenum> vertex_attribute; | 399 ValueValidator<GLenum> vertex_attribute; |
| 406 ValueValidator<GLenum> vertex_pointer; | 400 ValueValidator<GLenum> vertex_pointer; |
| 407 | 401 |
| 408 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 402 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
| OLD | NEW |