| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 kMaxFragmentUniformVectors * 4; | 56 kMaxFragmentUniformVectors * 4; |
| 57 static const GLint kMaxVaryingVectors = 8; | 57 static const GLint kMaxVaryingVectors = 8; |
| 58 static const GLint kMaxVaryingFloats = kMaxVaryingVectors * 4; | 58 static const GLint kMaxVaryingFloats = kMaxVaryingVectors * 4; |
| 59 static const GLint kMaxVertexUniformVectors = 128; | 59 static const GLint kMaxVertexUniformVectors = 128; |
| 60 static const GLint kMaxVertexUniformComponents = kMaxVertexUniformVectors * 4; | 60 static const GLint kMaxVertexUniformComponents = kMaxVertexUniformVectors * 4; |
| 61 static const GLint kMaxVertexOutputComponents = 64; | 61 static const GLint kMaxVertexOutputComponents = 64; |
| 62 static const GLint kMaxFragmentInputComponents = 60; | 62 static const GLint kMaxFragmentInputComponents = 60; |
| 63 static const GLint kMaxProgramTexelOffset = 7; | 63 static const GLint kMaxProgramTexelOffset = 7; |
| 64 static const GLint kMinProgramTexelOffset = -8; | 64 static const GLint kMinProgramTexelOffset = -8; |
| 65 | 65 |
| 66 static const GLint kMaxTransformFeedbackSeparateAttribs = 4; |
| 67 static const GLint kMaxUniformBufferBindings = 24; |
| 68 static const GLint kUniformBufferOffsetAlignment = 1; |
| 69 |
| 66 struct AttribInfo { | 70 struct AttribInfo { |
| 67 const char* name; | 71 const char* name; |
| 68 GLint size; | 72 GLint size; |
| 69 GLenum type; | 73 GLenum type; |
| 70 GLint location; | 74 GLint location; |
| 71 }; | 75 }; |
| 72 | 76 |
| 73 struct UniformInfo { | 77 struct UniformInfo { |
| 74 const char* name; | 78 const char* name; |
| 75 GLint size; | 79 GLint size; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 | 227 |
| 224 private: | 228 private: |
| 225 gfx::GLImplementation old_implementation_; | 229 gfx::GLImplementation old_implementation_; |
| 226 }; | 230 }; |
| 227 | 231 |
| 228 } // namespace gles2 | 232 } // namespace gles2 |
| 229 } // namespace gpu | 233 } // namespace gpu |
| 230 | 234 |
| 231 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 235 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
| 232 | 236 |
| OLD | NEW |