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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 case GL_MAX_VERTEX_UNIFORM_VECTORS: | 120 case GL_MAX_VERTEX_UNIFORM_VECTORS: |
121 return 1; | 121 return 1; |
122 case GL_MAX_VIEWPORT_DIMS: | 122 case GL_MAX_VIEWPORT_DIMS: |
123 return 2; | 123 return 2; |
124 case GL_NUM_COMPRESSED_TEXTURE_FORMATS: | 124 case GL_NUM_COMPRESSED_TEXTURE_FORMATS: |
125 return 1; | 125 return 1; |
126 case GL_NUM_SHADER_BINARY_FORMATS: | 126 case GL_NUM_SHADER_BINARY_FORMATS: |
127 return 1; | 127 return 1; |
128 case GL_PACK_ALIGNMENT: | 128 case GL_PACK_ALIGNMENT: |
129 return 1; | 129 return 1; |
| 130 case GL_PACK_REVERSE_ROW_ORDER_ANGLE: |
| 131 return 1; |
130 case GL_POLYGON_OFFSET_FACTOR: | 132 case GL_POLYGON_OFFSET_FACTOR: |
131 return 1; | 133 return 1; |
132 case GL_POLYGON_OFFSET_FILL: | 134 case GL_POLYGON_OFFSET_FILL: |
133 return 1; | 135 return 1; |
134 case GL_POLYGON_OFFSET_UNITS: | 136 case GL_POLYGON_OFFSET_UNITS: |
135 return 1; | 137 return 1; |
136 case GL_RED_BITS: | 138 case GL_RED_BITS: |
137 return 1; | 139 return 1; |
138 case GL_RENDERBUFFER_BINDING: | 140 case GL_RENDERBUFFER_BINDING: |
139 return 1; | 141 return 1; |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 } | 575 } |
574 } | 576 } |
575 return GetStringEnum(value); | 577 return GetStringEnum(value); |
576 } | 578 } |
577 | 579 |
578 #include "../common/gles2_cmd_utils_implementation_autogen.h" | 580 #include "../common/gles2_cmd_utils_implementation_autogen.h" |
579 | 581 |
580 } // namespace gles2 | 582 } // namespace gles2 |
581 } // namespace gpu | 583 } // namespace gpu |
582 | 584 |
OLD | NEW |