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
13struct 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
26GLfloat blend_color_red;
27GLfloat blend_color_green;
28GLfloat blend_color_blue;
29GLfloat blend_color_alpha;
30GLenum blend_equation_rgb;
31GLenum blend_equation_alpha;
32GLenum blend_source_rgb;
33GLenum blend_dest_rgb;
34GLenum blend_source_alpha;
35GLenum blend_dest_alpha;
36GLfloat color_clear_red;
37GLfloat color_clear_green;
38GLfloat color_clear_blue;
39GLfloat color_clear_alpha;
40GLclampf depth_clear;
41GLint stencil_clear;
42GLboolean color_mask_red;
43GLboolean color_mask_green;
44GLboolean color_mask_blue;
45GLboolean color_mask_alpha;
46GLenum cull_mode;
47GLenum depth_func;
48GLboolean depth_mask;
49GLclampf z_near;
50GLclampf z_far;
51GLenum front_face;
52GLenum hint_generate_mipmap;
53GLenum hint_fragment_shader_derivative;
54GLfloat line_width;
55GLint pack_alignment;
56GLint unpack_alignment;
57GLfloat polygon_offset_factor;
58GLfloat polygon_offset_units;
59GLclampf sample_coverage_value;
60GLboolean sample_coverage_invert;
61GLint scissor_x;
62GLint scissor_y;
63GLsizei scissor_width;
64GLsizei scissor_height;
65GLenum stencil_front_func;
66GLint stencil_front_ref;
67GLuint stencil_front_mask;
68GLenum stencil_back_func;
69GLint stencil_back_ref;
70GLuint stencil_back_mask;
71GLuint stencil_front_writemask;
72GLuint stencil_back_writemask;
73GLenum stencil_front_fail_op;
74GLenum stencil_front_z_fail_op;
75GLenum stencil_front_z_pass_op;
76GLenum stencil_back_fail_op;
77GLenum stencil_back_z_fail_op;
78GLenum stencil_back_z_pass_op;
79GLint viewport_x;
80GLint viewport_y;
81GLsizei viewport_width;
82GLsizei viewport_height;
83
84#endif  // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_
85
86