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