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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 bool IsValid(const GLenum value) const; | 106 bool IsValid(const GLenum value) const; |
107 }; | 107 }; |
108 FaceModeValidator face_mode; | 108 FaceModeValidator face_mode; |
109 | 109 |
110 class FaceTypeValidator { | 110 class FaceTypeValidator { |
111 public: | 111 public: |
112 bool IsValid(const GLenum value) const; | 112 bool IsValid(const GLenum value) const; |
113 }; | 113 }; |
114 FaceTypeValidator face_type; | 114 FaceTypeValidator face_type; |
115 | 115 |
116 ValueValidator<GLenum> frame_buffer_parameter; | 116 ValueValidator<GLenum> framebuffer_parameter; |
117 ValueValidator<GLenum> frame_buffer_target; | 117 ValueValidator<GLenum> framebuffer_target; |
118 ValueValidator<GLenum> g_l_state; | 118 ValueValidator<GLenum> g_l_state; |
119 class GetMaxIndexTypeValidator { | 119 class GetMaxIndexTypeValidator { |
120 public: | 120 public: |
121 bool IsValid(const GLenum value) const; | 121 bool IsValid(const GLenum value) const; |
122 }; | 122 }; |
123 GetMaxIndexTypeValidator get_max_index_type; | 123 GetMaxIndexTypeValidator get_max_index_type; |
124 | 124 |
125 ValueValidator<GLenum> get_tex_param_target; | 125 ValueValidator<GLenum> get_tex_param_target; |
126 class HintModeValidator { | 126 class HintModeValidator { |
127 public: | 127 public: |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 public: | 388 public: |
389 bool IsValid(const GLenum value) const; | 389 bool IsValid(const GLenum value) const; |
390 }; | 390 }; |
391 VertexAttribITypeValidator vertex_attrib_i_type; | 391 VertexAttribITypeValidator vertex_attrib_i_type; |
392 | 392 |
393 ValueValidator<GLenum> vertex_attrib_type; | 393 ValueValidator<GLenum> vertex_attrib_type; |
394 ValueValidator<GLenum> vertex_attribute; | 394 ValueValidator<GLenum> vertex_attribute; |
395 ValueValidator<GLenum> vertex_pointer; | 395 ValueValidator<GLenum> vertex_pointer; |
396 | 396 |
397 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ | 397 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ |
OLD | NEW |