| 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 static const GLuint kServiceBlackExternalTextureId = 709; | 39 static const GLuint kServiceBlackExternalTextureId = 709; |
| 40 static const GLuint kServiceDefaultExternalTextureId = 710; | 40 static const GLuint kServiceDefaultExternalTextureId = 710; |
| 41 static const GLuint kServiceBlackRectangleTextureId = 711; | 41 static const GLuint kServiceBlackRectangleTextureId = 711; |
| 42 static const GLuint kServiceDefaultRectangleTextureId = 712; | 42 static const GLuint kServiceDefaultRectangleTextureId = 712; |
| 43 | 43 |
| 44 static const GLint kMaxSamples = 4; | 44 static const GLint kMaxSamples = 4; |
| 45 static const GLint kMaxRenderbufferSize = 1024; | 45 static const GLint kMaxRenderbufferSize = 1024; |
| 46 static const GLint kMaxTextureSize = 2048; | 46 static const GLint kMaxTextureSize = 2048; |
| 47 static const GLint kMaxCubeMapTextureSize = 2048; | 47 static const GLint kMaxCubeMapTextureSize = 2048; |
| 48 static const GLint kMax3DTextureSize = 1024; | 48 static const GLint kMax3DTextureSize = 1024; |
| 49 static const GLint kMaxArrayTextureLayers = 256; |
| 49 static const GLint kMaxRectangleTextureSize = 64; | 50 static const GLint kMaxRectangleTextureSize = 64; |
| 50 static const GLint kNumVertexAttribs = 16; | 51 static const GLint kNumVertexAttribs = 16; |
| 51 static const GLint kNumTextureUnits = 8; | 52 static const GLint kNumTextureUnits = 8; |
| 52 static const GLint kMaxTextureImageUnits = 8; | 53 static const GLint kMaxTextureImageUnits = 8; |
| 53 static const GLint kMaxVertexTextureImageUnits = 2; | 54 static const GLint kMaxVertexTextureImageUnits = 2; |
| 54 static const GLint kMaxFragmentUniformVectors = 16; | 55 static const GLint kMaxFragmentUniformVectors = 16; |
| 55 static const GLint kMaxFragmentUniformComponents = | 56 static const GLint kMaxFragmentUniformComponents = |
| 56 kMaxFragmentUniformVectors * 4; | 57 kMaxFragmentUniformVectors * 4; |
| 57 static const GLint kMaxVaryingVectors = 8; | 58 static const GLint kMaxVaryingVectors = 8; |
| 58 static const GLint kMaxVaryingFloats = kMaxVaryingVectors * 4; | 59 static const GLint kMaxVaryingFloats = kMaxVaryingVectors * 4; |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 228 |
| 228 private: | 229 private: |
| 229 gfx::GLImplementation old_implementation_; | 230 gfx::GLImplementation old_implementation_; |
| 230 }; | 231 }; |
| 231 | 232 |
| 232 } // namespace gles2 | 233 } // namespace gles2 |
| 233 } // namespace gpu | 234 } // namespace gpu |
| 234 | 235 |
| 235 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 236 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
| 236 | 237 |
| OLD | NEW |