| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 <sstream> | 8 #include <sstream> |
| 9 #include <GLES2/gl2.h> | 9 #include <GLES2/gl2.h> |
| 10 #include <GLES2/gl2ext.h> | 10 #include <GLES2/gl2ext.h> |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 case GL_MAX_VERTEX_UNIFORM_VECTORS: | 124 case GL_MAX_VERTEX_UNIFORM_VECTORS: |
| 125 return 1; | 125 return 1; |
| 126 case GL_MAX_VIEWPORT_DIMS: | 126 case GL_MAX_VIEWPORT_DIMS: |
| 127 return 2; | 127 return 2; |
| 128 case GL_NUM_COMPRESSED_TEXTURE_FORMATS: | 128 case GL_NUM_COMPRESSED_TEXTURE_FORMATS: |
| 129 return 1; | 129 return 1; |
| 130 case GL_NUM_SHADER_BINARY_FORMATS: | 130 case GL_NUM_SHADER_BINARY_FORMATS: |
| 131 return 1; | 131 return 1; |
| 132 case GL_PACK_ALIGNMENT: | 132 case GL_PACK_ALIGNMENT: |
| 133 return 1; | 133 return 1; |
| 134 case GL_PACK_REVERSE_ROW_ORDER_ANGLE: | |
| 135 return 1; | |
| 136 case GL_POLYGON_OFFSET_FACTOR: | 134 case GL_POLYGON_OFFSET_FACTOR: |
| 137 return 1; | 135 return 1; |
| 138 case GL_POLYGON_OFFSET_FILL: | 136 case GL_POLYGON_OFFSET_FILL: |
| 139 return 1; | 137 return 1; |
| 140 case GL_POLYGON_OFFSET_UNITS: | 138 case GL_POLYGON_OFFSET_UNITS: |
| 141 return 1; | 139 return 1; |
| 142 case GL_RED_BITS: | 140 case GL_RED_BITS: |
| 143 return 1; | 141 return 1; |
| 144 case GL_RENDERBUFFER_BINDING: | 142 case GL_RENDERBUFFER_BINDING: |
| 145 return 1; | 143 return 1; |
| (...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1500 } | 1498 } |
| 1501 | 1499 |
| 1502 return true; | 1500 return true; |
| 1503 } | 1501 } |
| 1504 | 1502 |
| 1505 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h" | 1503 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h" |
| 1506 | 1504 |
| 1507 } // namespace gles2 | 1505 } // namespace gles2 |
| 1508 } // namespace gpu | 1506 } // namespace gpu |
| 1509 | 1507 |
| OLD | NEW |