| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 GLclampf depth_clear; | 59 GLclampf depth_clear; |
| 60 GLint stencil_clear; | 60 GLint stencil_clear; |
| 61 GLboolean color_mask_red; | 61 GLboolean color_mask_red; |
| 62 GLboolean cached_color_mask_red; | 62 GLboolean cached_color_mask_red; |
| 63 GLboolean color_mask_green; | 63 GLboolean color_mask_green; |
| 64 GLboolean cached_color_mask_green; | 64 GLboolean cached_color_mask_green; |
| 65 GLboolean color_mask_blue; | 65 GLboolean color_mask_blue; |
| 66 GLboolean cached_color_mask_blue; | 66 GLboolean cached_color_mask_blue; |
| 67 GLboolean color_mask_alpha; | 67 GLboolean color_mask_alpha; |
| 68 GLboolean cached_color_mask_alpha; | 68 GLboolean cached_color_mask_alpha; |
| 69 GLenum coverage_modulation; |
| 69 GLenum cull_mode; | 70 GLenum cull_mode; |
| 70 GLenum depth_func; | 71 GLenum depth_func; |
| 71 GLboolean depth_mask; | 72 GLboolean depth_mask; |
| 72 GLboolean cached_depth_mask; | 73 GLboolean cached_depth_mask; |
| 73 GLclampf z_near; | 74 GLclampf z_near; |
| 74 GLclampf z_far; | 75 GLclampf z_far; |
| 75 GLenum front_face; | 76 GLenum front_face; |
| 76 GLenum hint_generate_mipmap; | 77 GLenum hint_generate_mipmap; |
| 77 GLenum hint_fragment_shader_derivative; | 78 GLenum hint_fragment_shader_derivative; |
| 78 GLfloat line_width; | 79 GLfloat line_width; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 default: | 196 default: |
| 196 NOTREACHED(); | 197 NOTREACHED(); |
| 197 return; | 198 return; |
| 198 } | 199 } |
| 199 if (enable) | 200 if (enable) |
| 200 glEnable(cap); | 201 glEnable(cap); |
| 201 else | 202 else |
| 202 glDisable(cap); | 203 glDisable(cap); |
| 203 } | 204 } |
| 204 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ | 205 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ |
| OLD | NEW |