| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 bool IsValid(const GLenum value) const; | 301 bool IsValid(const GLenum value) const; |
| 302 }; | 302 }; |
| 303 StencilOpValidator stencil_op; | 303 StencilOpValidator stencil_op; |
| 304 | 304 |
| 305 class StringTypeValidator { | 305 class StringTypeValidator { |
| 306 public: | 306 public: |
| 307 bool IsValid(const GLenum value) const; | 307 bool IsValid(const GLenum value) const; |
| 308 }; | 308 }; |
| 309 StringTypeValidator string_type; | 309 StringTypeValidator string_type; |
| 310 | 310 |
| 311 ValueValidator<GLenum> subscription_target; | |
| 312 ValueValidator<GLbitfield> sync_flush_flags; | 311 ValueValidator<GLbitfield> sync_flush_flags; |
| 313 class SyncParameterValidator { | 312 class SyncParameterValidator { |
| 314 public: | 313 public: |
| 315 bool IsValid(const GLenum value) const; | 314 bool IsValid(const GLenum value) const; |
| 316 }; | 315 }; |
| 317 SyncParameterValidator sync_parameter; | 316 SyncParameterValidator sync_parameter; |
| 318 | 317 |
| 319 class Texture3DTargetValidator { | 318 class Texture3DTargetValidator { |
| 320 public: | 319 public: |
| 321 bool IsValid(const GLenum value) const; | 320 bool IsValid(const GLenum value) const; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 bool IsValid(const GLenum value) const; | 381 bool IsValid(const GLenum value) const; |
| 383 }; | 382 }; |
| 384 UniformBlockParameterValidator uniform_block_parameter; | 383 UniformBlockParameterValidator uniform_block_parameter; |
| 385 | 384 |
| 386 class UniformParameterValidator { | 385 class UniformParameterValidator { |
| 387 public: | 386 public: |
| 388 bool IsValid(const GLenum value) const; | 387 bool IsValid(const GLenum value) const; |
| 389 }; | 388 }; |
| 390 UniformParameterValidator uniform_parameter; | 389 UniformParameterValidator uniform_parameter; |
| 391 | 390 |
| 392 ValueValidator<GLenum> value_buffer_target; | |
| 393 class VertexAttribITypeValidator { | 391 class VertexAttribITypeValidator { |
| 394 public: | 392 public: |
| 395 bool IsValid(const GLenum value) const; | 393 bool IsValid(const GLenum value) const; |
| 396 }; | 394 }; |
| 397 VertexAttribITypeValidator vertex_attrib_i_type; | 395 VertexAttribITypeValidator vertex_attrib_i_type; |
| 398 | 396 |
| 399 ValueValidator<GLenum> vertex_attrib_type; | 397 ValueValidator<GLenum> vertex_attrib_type; |
| 400 ValueValidator<GLenum> vertex_attribute; | 398 ValueValidator<GLenum> vertex_attribute; |
| 401 ValueValidator<GLenum> vertex_pointer; | 399 ValueValidator<GLenum> vertex_pointer; |
| 402 | 400 |
| 403 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 401 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
| OLD | NEW |