| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 here so other GLES2 related files can have a common set of | 5 // This file is here so other GLES2 related files can have a common set of |
| 6 // includes where appropriate. | 6 // includes where appropriate. |
| 7 | 7 |
| 8 #include <stdio.h> | 8 #include <stdio.h> |
| 9 #include <GLES2/gl2.h> | 9 #include <GLES2/gl2.h> |
| 10 #include <GLES2/gl2ext.h> | 10 #include <GLES2/gl2ext.h> |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 case GL_SAMPLE_COVERAGE_INVERT: | 143 case GL_SAMPLE_COVERAGE_INVERT: |
| 144 return 1; | 144 return 1; |
| 145 case GL_SAMPLE_COVERAGE_VALUE: | 145 case GL_SAMPLE_COVERAGE_VALUE: |
| 146 return 1; | 146 return 1; |
| 147 case GL_SAMPLES: | 147 case GL_SAMPLES: |
| 148 return 1; | 148 return 1; |
| 149 case GL_SCISSOR_BOX: | 149 case GL_SCISSOR_BOX: |
| 150 return 4; | 150 return 4; |
| 151 case GL_SCISSOR_TEST: | 151 case GL_SCISSOR_TEST: |
| 152 return 1; | 152 return 1; |
| 153 case GL_SHADER_BINARY_FORMATS: |
| 154 return num_shader_binary_formats_; |
| 153 case GL_SHADER_COMPILER: | 155 case GL_SHADER_COMPILER: |
| 154 return 1; | 156 return 1; |
| 155 case GL_STENCIL_BACK_FAIL: | 157 case GL_STENCIL_BACK_FAIL: |
| 156 return 1; | 158 return 1; |
| 157 case GL_STENCIL_BACK_FUNC: | 159 case GL_STENCIL_BACK_FUNC: |
| 158 return 1; | 160 return 1; |
| 159 case GL_STENCIL_BACK_PASS_DEPTH_FAIL: | 161 case GL_STENCIL_BACK_PASS_DEPTH_FAIL: |
| 160 return 1; | 162 return 1; |
| 161 case GL_STENCIL_BACK_PASS_DEPTH_PASS: | 163 case GL_STENCIL_BACK_PASS_DEPTH_PASS: |
| 162 return 1; | 164 return 1; |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 } | 565 } |
| 564 } | 566 } |
| 565 return GetStringEnum(value); | 567 return GetStringEnum(value); |
| 566 } | 568 } |
| 567 | 569 |
| 568 #include "../common/gles2_cmd_utils_implementation_autogen.h" | 570 #include "../common/gles2_cmd_utils_implementation_autogen.h" |
| 569 | 571 |
| 570 } // namespace gles2 | 572 } // namespace gles2 |
| 571 } // namespace gpu | 573 } // namespace gpu |
| 572 | 574 |
| OLD | NEW |