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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 GLenum hint_generate_mipmap; | 72 GLenum hint_generate_mipmap; |
73 GLenum hint_fragment_shader_derivative; | 73 GLenum hint_fragment_shader_derivative; |
74 GLfloat line_width; | 74 GLfloat line_width; |
75 GLfloat modelview_matrix[16]; | 75 GLfloat modelview_matrix[16]; |
76 GLfloat projection_matrix[16]; | 76 GLfloat projection_matrix[16]; |
77 GLenum stencil_path_func; | 77 GLenum stencil_path_func; |
78 GLint stencil_path_ref; | 78 GLint stencil_path_ref; |
79 GLuint stencil_path_mask; | 79 GLuint stencil_path_mask; |
80 GLint pack_alignment; | 80 GLint pack_alignment; |
81 GLint unpack_alignment; | 81 GLint unpack_alignment; |
82 GLint pack_row_length; | |
83 GLint pack_skip_pixels; | |
84 GLint pack_skip_rows; | |
85 GLint unpack_row_length; | |
86 GLint unpack_image_height; | |
87 GLint unpack_skip_pixels; | |
88 GLint unpack_skip_rows; | |
89 GLint unpack_skip_images; | |
90 GLfloat polygon_offset_factor; | 82 GLfloat polygon_offset_factor; |
91 GLfloat polygon_offset_units; | 83 GLfloat polygon_offset_units; |
92 GLclampf sample_coverage_value; | 84 GLclampf sample_coverage_value; |
93 GLboolean sample_coverage_invert; | 85 GLboolean sample_coverage_invert; |
94 GLint scissor_x; | 86 GLint scissor_x; |
95 GLint scissor_y; | 87 GLint scissor_y; |
96 GLsizei scissor_width; | 88 GLsizei scissor_width; |
97 GLsizei scissor_height; | 89 GLsizei scissor_height; |
98 GLenum stencil_front_func; | 90 GLenum stencil_front_func; |
99 GLint stencil_front_ref; | 91 GLint stencil_front_ref; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 default: | 172 default: |
181 NOTREACHED(); | 173 NOTREACHED(); |
182 return; | 174 return; |
183 } | 175 } |
184 if (enable) | 176 if (enable) |
185 glEnable(cap); | 177 glEnable(cap); |
186 else | 178 else |
187 glDisable(cap); | 179 glDisable(cap); |
188 } | 180 } |
189 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ | 181 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ |
OLD | NEW |