| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 | 337 |
| 338 class TextureMinFilterModeValidator { | 338 class TextureMinFilterModeValidator { |
| 339 public: | 339 public: |
| 340 bool IsValid(const GLenum value) const; | 340 bool IsValid(const GLenum value) const; |
| 341 }; | 341 }; |
| 342 TextureMinFilterModeValidator texture_min_filter_mode; | 342 TextureMinFilterModeValidator texture_min_filter_mode; |
| 343 | 343 |
| 344 ValueValidator<GLenum> texture_parameter; | 344 ValueValidator<GLenum> texture_parameter; |
| 345 ValueValidator<GLenum> texture_sized_color_renderable_internal_format; | 345 ValueValidator<GLenum> texture_sized_color_renderable_internal_format; |
| 346 ValueValidator<GLenum> texture_sized_texture_filterable_internal_format; | 346 ValueValidator<GLenum> texture_sized_texture_filterable_internal_format; |
| 347 class TextureSrgbDecodeExtValidator { |
| 348 public: |
| 349 bool IsValid(const GLenum value) const; |
| 350 }; |
| 351 TextureSrgbDecodeExtValidator texture_srgb_decode_ext; |
| 352 |
| 347 ValueValidator<GLenum> texture_stencil_renderable_internal_format; | 353 ValueValidator<GLenum> texture_stencil_renderable_internal_format; |
| 348 class TextureSwizzleValidator { | 354 class TextureSwizzleValidator { |
| 349 public: | 355 public: |
| 350 bool IsValid(const GLenum value) const; | 356 bool IsValid(const GLenum value) const; |
| 351 }; | 357 }; |
| 352 TextureSwizzleValidator texture_swizzle; | 358 TextureSwizzleValidator texture_swizzle; |
| 353 | 359 |
| 354 ValueValidator<GLenum> texture_target; | 360 ValueValidator<GLenum> texture_target; |
| 355 ValueValidator<GLenum> texture_unsized_internal_format; | 361 ValueValidator<GLenum> texture_unsized_internal_format; |
| 356 class TextureUsageValidator { | 362 class TextureUsageValidator { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 public: | 394 public: |
| 389 bool IsValid(const GLenum value) const; | 395 bool IsValid(const GLenum value) const; |
| 390 }; | 396 }; |
| 391 VertexAttribITypeValidator vertex_attrib_i_type; | 397 VertexAttribITypeValidator vertex_attrib_i_type; |
| 392 | 398 |
| 393 ValueValidator<GLenum> vertex_attrib_type; | 399 ValueValidator<GLenum> vertex_attrib_type; |
| 394 ValueValidator<GLenum> vertex_attribute; | 400 ValueValidator<GLenum> vertex_attribute; |
| 395 ValueValidator<GLenum> vertex_pointer; | 401 ValueValidator<GLenum> vertex_pointer; |
| 396 | 402 |
| 397 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 403 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
| OLD | NEW |