| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 }; | 339 }; |
| 340 TextureMagFilterModeValidator texture_mag_filter_mode; | 340 TextureMagFilterModeValidator texture_mag_filter_mode; |
| 341 | 341 |
| 342 class TextureMinFilterModeValidator { | 342 class TextureMinFilterModeValidator { |
| 343 public: | 343 public: |
| 344 bool IsValid(const GLenum value) const; | 344 bool IsValid(const GLenum value) const; |
| 345 }; | 345 }; |
| 346 TextureMinFilterModeValidator texture_min_filter_mode; | 346 TextureMinFilterModeValidator texture_min_filter_mode; |
| 347 | 347 |
| 348 ValueValidator<GLenum> texture_parameter; | 348 ValueValidator<GLenum> texture_parameter; |
| 349 ValueValidator<GLenum> texture_sized_color_renderable_internal_format; |
| 350 ValueValidator<GLenum> texture_sized_texture_filterable_internal_format; |
| 349 ValueValidator<GLenum> texture_target; | 351 ValueValidator<GLenum> texture_target; |
| 352 ValueValidator<GLenum> texture_unsized_internal_format; |
| 350 class TextureUsageValidator { | 353 class TextureUsageValidator { |
| 351 public: | 354 public: |
| 352 bool IsValid(const GLenum value) const; | 355 bool IsValid(const GLenum value) const; |
| 353 }; | 356 }; |
| 354 TextureUsageValidator texture_usage; | 357 TextureUsageValidator texture_usage; |
| 355 | 358 |
| 356 class TextureWrapModeValidator { | 359 class TextureWrapModeValidator { |
| 357 public: | 360 public: |
| 358 bool IsValid(const GLenum value) const; | 361 bool IsValid(const GLenum value) const; |
| 359 }; | 362 }; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 383 public: | 386 public: |
| 384 bool IsValid(const GLenum value) const; | 387 bool IsValid(const GLenum value) const; |
| 385 }; | 388 }; |
| 386 VertexAttribITypeValidator vertex_attrib_i_type; | 389 VertexAttribITypeValidator vertex_attrib_i_type; |
| 387 | 390 |
| 388 ValueValidator<GLenum> vertex_attrib_type; | 391 ValueValidator<GLenum> vertex_attrib_type; |
| 389 ValueValidator<GLenum> vertex_attribute; | 392 ValueValidator<GLenum> vertex_attribute; |
| 390 ValueValidator<GLenum> vertex_pointer; | 393 ValueValidator<GLenum> vertex_pointer; |
| 391 | 394 |
| 392 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 395 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
| OLD | NEW |