| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 GLboolean depth_mask; | 63 GLboolean depth_mask; |
| 64 GLboolean cached_depth_mask; | 64 GLboolean cached_depth_mask; |
| 65 GLclampf z_near; | 65 GLclampf z_near; |
| 66 GLclampf z_far; | 66 GLclampf z_far; |
| 67 GLenum front_face; | 67 GLenum front_face; |
| 68 GLenum hint_generate_mipmap; | 68 GLenum hint_generate_mipmap; |
| 69 GLenum hint_fragment_shader_derivative; | 69 GLenum hint_fragment_shader_derivative; |
| 70 GLfloat line_width; | 70 GLfloat line_width; |
| 71 GLfloat modelview_matrix[16]; | 71 GLfloat modelview_matrix[16]; |
| 72 GLfloat projection_matrix[16]; | 72 GLfloat projection_matrix[16]; |
| 73 GLenum stencil_path_func; |
| 74 GLint stencil_path_ref; |
| 75 GLuint stencil_path_mask; |
| 73 GLint pack_alignment; | 76 GLint pack_alignment; |
| 74 GLint unpack_alignment; | 77 GLint unpack_alignment; |
| 75 GLfloat polygon_offset_factor; | 78 GLfloat polygon_offset_factor; |
| 76 GLfloat polygon_offset_units; | 79 GLfloat polygon_offset_units; |
| 77 GLclampf sample_coverage_value; | 80 GLclampf sample_coverage_value; |
| 78 GLboolean sample_coverage_invert; | 81 GLboolean sample_coverage_invert; |
| 79 GLint scissor_x; | 82 GLint scissor_x; |
| 80 GLint scissor_y; | 83 GLint scissor_y; |
| 81 GLsizei scissor_width; | 84 GLsizei scissor_width; |
| 82 GLsizei scissor_height; | 85 GLsizei scissor_height; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 default: | 156 default: |
| 154 NOTREACHED(); | 157 NOTREACHED(); |
| 155 return; | 158 return; |
| 156 } | 159 } |
| 157 if (enable) | 160 if (enable) |
| 158 glEnable(cap); | 161 glEnable(cap); |
| 159 else | 162 else |
| 160 glDisable(cap); | 163 glDisable(cap); |
| 161 } | 164 } |
| 162 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ | 165 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ |
| OLD | NEW |