| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 const char* extensions); | 113 const char* extensions); |
| 114 static void SetupFeatureInfoInitExpectationsWithGLVersion( | 114 static void SetupFeatureInfoInitExpectationsWithGLVersion( |
| 115 ::gl::MockGLInterface* gl, | 115 ::gl::MockGLInterface* gl, |
| 116 const char* extensions, | 116 const char* extensions, |
| 117 const char* gl_renderer, | 117 const char* gl_renderer, |
| 118 const char* gl_version, | 118 const char* gl_version, |
| 119 ContextType context_type, | 119 ContextType context_type, |
| 120 bool enable_es3 = false); | 120 bool enable_es3 = false); |
| 121 static void SetupTextureManagerInitExpectations(::gl::MockGLInterface* gl, | 121 static void SetupTextureManagerInitExpectations(::gl::MockGLInterface* gl, |
| 122 bool is_es3_enabled, | 122 bool is_es3_enabled, |
| 123 bool is_es3_capable, |
| 123 bool is_desktop_core_profile, | 124 bool is_desktop_core_profile, |
| 124 const char* extensions, | 125 const char* extensions, |
| 125 bool use_default_textures); | 126 bool use_default_textures); |
| 126 static void SetupTextureManagerDestructionExpectations( | 127 static void SetupTextureManagerDestructionExpectations( |
| 127 ::gl::MockGLInterface* gl, | 128 ::gl::MockGLInterface* gl, |
| 128 bool is_es3_enabled, | 129 bool is_es3_enabled, |
| 129 bool is_desktop_core_profile, | 130 bool is_desktop_core_profile, |
| 130 const char* extensions, | 131 const char* extensions, |
| 131 bool use_default_textures); | 132 bool use_default_textures); |
| 132 | 133 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 bool use_default_textures); | 229 bool use_default_textures); |
| 229 | 230 |
| 230 static std::vector<std::string> split_extensions_; | 231 static std::vector<std::string> split_extensions_; |
| 231 }; | 232 }; |
| 232 | 233 |
| 233 } // namespace gles2 | 234 } // namespace gles2 |
| 234 } // namespace gpu | 235 } // namespace gpu |
| 235 | 236 |
| 236 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ | 237 #endif // GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_ |
| 237 | 238 |
| OLD | NEW |