OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file is auto-generated from |
| 6 // gpu/command_buffer/build_gles2_cmd_buffer.py |
| 7 // DO NOT EDIT! |
| 8 |
| 9 // It is included by context_state.h |
| 10 #ifndef GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ |
| 11 #define GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ |
| 12 |
| 13 struct EnableFlags { |
| 14 EnableFlags(); |
| 15 bool blend; |
| 16 bool cull_face; |
| 17 bool depth_test; |
| 18 bool dither; |
| 19 bool polygon_offset_fill; |
| 20 bool sample_alpha_to_coverage; |
| 21 bool sample_coverage; |
| 22 bool scissor_test; |
| 23 bool stencil_test; |
| 24 }; |
| 25 |
| 26 GLfloat blend_color_red; |
| 27 GLfloat blend_color_green; |
| 28 GLfloat blend_color_blue; |
| 29 GLfloat blend_color_alpha; |
| 30 GLenum blend_equation_rgb; |
| 31 GLenum blend_equation_alpha; |
| 32 GLenum blend_source_rgb; |
| 33 GLenum blend_dest_rgb; |
| 34 GLenum blend_source_alpha; |
| 35 GLenum blend_dest_alpha; |
| 36 GLfloat color_clear_red; |
| 37 GLfloat color_clear_green; |
| 38 GLfloat color_clear_blue; |
| 39 GLfloat color_clear_alpha; |
| 40 GLclampf depth_clear; |
| 41 GLint stencil_clear; |
| 42 GLboolean color_mask_red; |
| 43 GLboolean color_mask_green; |
| 44 GLboolean color_mask_blue; |
| 45 GLboolean color_mask_alpha; |
| 46 GLenum cull_mode; |
| 47 GLenum depth_func; |
| 48 GLboolean depth_mask; |
| 49 GLclampf z_near; |
| 50 GLclampf z_far; |
| 51 GLenum front_face; |
| 52 GLfloat line_width; |
| 53 GLfloat polygon_offset_factor; |
| 54 GLfloat polygon_offset_units; |
| 55 GLclampf sample_coverage_value; |
| 56 GLboolean sample_coverage_invert; |
| 57 GLfloat scissor_x; |
| 58 GLfloat scissor_y; |
| 59 GLfloat scissor_width; |
| 60 GLfloat scissor_height; |
| 61 GLenum stencil_front_func; |
| 62 GLint stencil_front_ref; |
| 63 GLuint stencil_front_mask; |
| 64 GLenum stencil_back_func; |
| 65 GLint stencil_back_ref; |
| 66 GLuint stencil_back_mask; |
| 67 GLuint stencil_front_writemask; |
| 68 GLuint stencil_back_writemask; |
| 69 GLenum stencil_front_fail_op; |
| 70 GLenum stencil_front_z_fail_op; |
| 71 GLenum stencil_front_z_pass_op; |
| 72 GLenum stencil_back_fail_op; |
| 73 GLenum stencil_back_z_fail_op; |
| 74 GLenum stencil_back_z_pass_op; |
| 75 GLfloat viewport_x; |
| 76 GLfloat viewport_y; |
| 77 GLfloat viewport_width; |
| 78 GLfloat viewport_height; |
| 79 |
| 80 #endif // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_ |
| 81 |
OLD | NEW |