| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 GLboolean depth_mask; | 67 GLboolean depth_mask; |
| 68 GLboolean cached_depth_mask; | 68 GLboolean cached_depth_mask; |
| 69 GLclampf z_near; | 69 GLclampf z_near; |
| 70 GLclampf z_far; | 70 GLclampf z_far; |
| 71 GLenum front_face; | 71 GLenum front_face; |
| 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; |
| 78 GLint stencil_path_ref; |
| 79 GLuint stencil_path_mask; |
| 77 GLint pack_alignment; | 80 GLint pack_alignment; |
| 78 GLint unpack_alignment; | 81 GLint unpack_alignment; |
| 79 GLfloat polygon_offset_factor; | 82 GLfloat polygon_offset_factor; |
| 80 GLfloat polygon_offset_units; | 83 GLfloat polygon_offset_units; |
| 81 GLclampf sample_coverage_value; | 84 GLclampf sample_coverage_value; |
| 82 GLboolean sample_coverage_invert; | 85 GLboolean sample_coverage_invert; |
| 83 GLint scissor_x; | 86 GLint scissor_x; |
| 84 GLint scissor_y; | 87 GLint scissor_y; |
| 85 GLsizei scissor_width; | 88 GLsizei scissor_width; |
| 86 GLsizei scissor_height; | 89 GLsizei scissor_height; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 default: | 172 default: |
| 170 NOTREACHED(); | 173 NOTREACHED(); |
| 171 return; | 174 return; |
| 172 } | 175 } |
| 173 if (enable) | 176 if (enable) |
| 174 glEnable(cap); | 177 glEnable(cap); |
| 175 else | 178 else |
| 176 glDisable(cap); | 179 glDisable(cap); |
| 177 } | 180 } |
| 178 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ | 181 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ |
| OLD | NEW |