Home | History | Annotate | Download | only in service
      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 GLenum hint_generate_mipmap;
     53 GLenum hint_fragment_shader_derivative;
     54 GLfloat line_width;
     55 GLint pack_alignment;
     56 GLint unpack_alignment;
     57 GLfloat polygon_offset_factor;
     58 GLfloat polygon_offset_units;
     59 GLclampf sample_coverage_value;
     60 GLboolean sample_coverage_invert;
     61 GLint scissor_x;
     62 GLint scissor_y;
     63 GLsizei scissor_width;
     64 GLsizei scissor_height;
     65 GLenum stencil_front_func;
     66 GLint stencil_front_ref;
     67 GLuint stencil_front_mask;
     68 GLenum stencil_back_func;
     69 GLint stencil_back_ref;
     70 GLuint stencil_back_mask;
     71 GLuint stencil_front_writemask;
     72 GLuint stencil_back_writemask;
     73 GLenum stencil_front_fail_op;
     74 GLenum stencil_front_z_fail_op;
     75 GLenum stencil_front_z_pass_op;
     76 GLenum stencil_back_fail_op;
     77 GLenum stencil_back_z_fail_op;
     78 GLenum stencil_back_z_pass_op;
     79 GLint viewport_x;
     80 GLint viewport_y;
     81 GLsizei viewport_width;
     82 GLsizei viewport_height;
     83 
     84 #endif  // GPU_COMMAND_BUFFER_SERVICE_CONTEXT_STATE_AUTOGEN_H_
     85 
     86