| 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 #include "gpu/command_buffer/service/test_helper.h" | 5 #include "gpu/command_buffer/service/test_helper.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/strings/string_tokenizer.h" | 11 #include "base/strings/string_tokenizer.h" |
| 12 #include "gpu/command_buffer/common/types.h" | |
| 13 #include "gpu/command_buffer/service/buffer_manager.h" | 12 #include "gpu/command_buffer/service/buffer_manager.h" |
| 14 #include "gpu/command_buffer/service/error_state_mock.h" | 13 #include "gpu/command_buffer/service/error_state_mock.h" |
| 15 #include "gpu/command_buffer/service/gl_utils.h" | 14 #include "gpu/command_buffer/service/gl_utils.h" |
| 16 #include "gpu/command_buffer/service/gpu_switches.h" | 15 #include "gpu/command_buffer/service/gpu_switches.h" |
| 17 #include "gpu/command_buffer/service/program_manager.h" | 16 #include "gpu/command_buffer/service/program_manager.h" |
| 18 #include "gpu/command_buffer/service/texture_manager.h" | 17 #include "gpu/command_buffer/service/texture_manager.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 20 #include "ui/gl/gl_mock.h" | 19 #include "ui/gl/gl_mock.h" |
| 21 | 20 |
| 22 using ::testing::_; | 21 using ::testing::_; |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 gfx::SetGLImplementation(implementation); | 646 gfx::SetGLImplementation(implementation); |
| 648 } | 647 } |
| 649 | 648 |
| 650 ScopedGLImplementationSetter::~ScopedGLImplementationSetter() { | 649 ScopedGLImplementationSetter::~ScopedGLImplementationSetter() { |
| 651 gfx::SetGLImplementation(old_implementation_); | 650 gfx::SetGLImplementation(old_implementation_); |
| 652 } | 651 } |
| 653 | 652 |
| 654 } // namespace gles2 | 653 } // namespace gles2 |
| 655 } // namespace gpu | 654 } // namespace gpu |
| 656 | 655 |
| OLD | NEW |