| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 GLenum cull_mode; | 61 GLenum cull_mode; |
| 62 GLenum depth_func; | 62 GLenum depth_func; |
| 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]; |
| 72 GLfloat projection_matrix[16]; |
| 71 GLint pack_alignment; | 73 GLint pack_alignment; |
| 72 GLint unpack_alignment; | 74 GLint unpack_alignment; |
| 73 GLfloat polygon_offset_factor; | 75 GLfloat polygon_offset_factor; |
| 74 GLfloat polygon_offset_units; | 76 GLfloat polygon_offset_units; |
| 75 GLclampf sample_coverage_value; | 77 GLclampf sample_coverage_value; |
| 76 GLboolean sample_coverage_invert; | 78 GLboolean sample_coverage_invert; |
| 77 GLint scissor_x; | 79 GLint scissor_x; |
| 78 GLint scissor_y; | 80 GLint scissor_y; |
| 79 GLsizei scissor_width; | 81 GLsizei scissor_width; |
| 80 GLsizei scissor_height; | 82 GLsizei scissor_height; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 default: | 153 default: |
| 152 NOTREACHED(); | 154 NOTREACHED(); |
| 153 return; | 155 return; |
| 154 } | 156 } |
| 155 if (enable) | 157 if (enable) |
| 156 glEnable(cap); | 158 glEnable(cap); |
| 157 else | 159 else |
| 158 glDisable(cap); | 160 glDisable(cap); |
| 159 } | 161 } |
| 160 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ | 162 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ |
| OLD | NEW |