| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 return 1; | 306 return 1; |
| 307 case GL_TEXTURE_MIN_FILTER: | 307 case GL_TEXTURE_MIN_FILTER: |
| 308 return 1; | 308 return 1; |
| 309 case GL_TEXTURE_WRAP_S: | 309 case GL_TEXTURE_WRAP_S: |
| 310 return 1; | 310 return 1; |
| 311 case GL_TEXTURE_WRAP_T: | 311 case GL_TEXTURE_WRAP_T: |
| 312 return 1; | 312 return 1; |
| 313 case GL_TEXTURE_MAX_ANISOTROPY_EXT: | 313 case GL_TEXTURE_MAX_ANISOTROPY_EXT: |
| 314 return 1; | 314 return 1; |
| 315 | 315 |
| 316 // -- glGetVertexAttribfv, glGetVertexAttribiv | 316 // -- glGetVertexAttrib |
| 317 case GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: | 317 case GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: |
| 318 return 1; | 318 return 1; |
| 319 case GL_VERTEX_ATTRIB_ARRAY_ENABLED: | 319 case GL_VERTEX_ATTRIB_ARRAY_ENABLED: |
| 320 return 1; | 320 return 1; |
| 321 case GL_VERTEX_ATTRIB_ARRAY_SIZE: | 321 case GL_VERTEX_ATTRIB_ARRAY_SIZE: |
| 322 return 1; | 322 return 1; |
| 323 case GL_VERTEX_ATTRIB_ARRAY_STRIDE: | 323 case GL_VERTEX_ATTRIB_ARRAY_STRIDE: |
| 324 return 1; | 324 return 1; |
| 325 case GL_VERTEX_ATTRIB_ARRAY_TYPE: | 325 case GL_VERTEX_ATTRIB_ARRAY_TYPE: |
| 326 return 1; | 326 return 1; |
| 327 case GL_VERTEX_ATTRIB_ARRAY_NORMALIZED: | 327 case GL_VERTEX_ATTRIB_ARRAY_NORMALIZED: |
| 328 return 1; | 328 return 1; |
| 329 case GL_CURRENT_VERTEX_ATTRIB: | 329 case GL_CURRENT_VERTEX_ATTRIB: |
| 330 return 4; | 330 return 4; |
| 331 case GL_VERTEX_ATTRIB_ARRAY_INTEGER: |
| 332 return 1; |
| 333 case GL_VERTEX_ATTRIB_ARRAY_DIVISOR: |
| 334 return 1; |
| 331 | 335 |
| 332 // -- glGetSynciv | 336 // -- glGetSynciv |
| 333 case GL_OBJECT_TYPE: | 337 case GL_OBJECT_TYPE: |
| 334 return 1; | 338 return 1; |
| 335 case GL_SYNC_STATUS: | 339 case GL_SYNC_STATUS: |
| 336 return 1; | 340 return 1; |
| 337 case GL_SYNC_CONDITION: | 341 case GL_SYNC_CONDITION: |
| 338 return 1; | 342 return 1; |
| 339 case GL_SYNC_FLAGS: | 343 case GL_SYNC_FLAGS: |
| 340 return 1; | 344 return 1; |
| (...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1177 } | 1181 } |
| 1178 | 1182 |
| 1179 return true; | 1183 return true; |
| 1180 } | 1184 } |
| 1181 | 1185 |
| 1182 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h" | 1186 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h" |
| 1183 | 1187 |
| 1184 } // namespace gles2 | 1188 } // namespace gles2 |
| 1185 } // namespace gpu | 1189 } // namespace gpu |
| 1186 | 1190 |
| OLD | NEW |