| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "cc/resources/resource_provider.h" | 5 #include "cc/resources/resource_provider.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "cc/base/scoped_ptr_deque.h" | 11 #include "cc/base/scoped_ptr_deque.h" |
| 12 #include "cc/base/scoped_ptr_hash_map.h" | 12 #include "cc/base/scoped_ptr_hash_map.h" |
| 13 #include "cc/output/output_surface.h" | 13 #include "cc/output/output_surface.h" |
| 14 #include "cc/test/fake_output_surface.h" | 14 #include "cc/test/fake_output_surface.h" |
| 15 #include "cc/test/test_web_graphics_context_3d.h" | 15 #include "cc/test/test_web_graphics_context_3d.h" |
| 16 #include "gpu/GLES2/gl2extchromium.h" | 16 #include "gpu/GLES2/gl2extchromium.h" |
| 17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 19 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
| 20 #include "third_party/khronos/GLES2/gl2.h" | 20 #include "third_party/khronos/GLES2/gl2.h" |
| 21 #include "third_party/khronos/GLES2/gl2ext.h" | 21 #include "third_party/khronos/GLES2/gl2ext.h" |
| 22 #include "ui/gfx/rect.h" | 22 #include "ui/gfx/rect.h" |
| 23 | 23 |
| 24 using testing::Mock; | 24 using testing::Mock; |
| 25 using testing::NiceMock; | 25 using testing::NiceMock; |
| 26 using testing::Return; | 26 using testing::Return; |
| 27 using testing::StrictMock; | 27 using testing::StrictMock; |
| 28 using testing::_; | 28 using testing::_; |
| 29 using WebKit::WGC3Dbyte; | 29 using WebKit::WGC3Dbyte; |
| (...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1417 Mock::VerifyAndClearExpectations(context); | 1417 Mock::VerifyAndClearExpectations(context); |
| 1418 } | 1418 } |
| 1419 | 1419 |
| 1420 INSTANTIATE_TEST_CASE_P( | 1420 INSTANTIATE_TEST_CASE_P( |
| 1421 ResourceProviderTests, | 1421 ResourceProviderTests, |
| 1422 ResourceProviderTest, | 1422 ResourceProviderTest, |
| 1423 ::testing::Values(ResourceProvider::GLTexture, ResourceProvider::Bitmap)); | 1423 ::testing::Values(ResourceProvider::GLTexture, ResourceProvider::Bitmap)); |
| 1424 | 1424 |
| 1425 } // namespace | 1425 } // namespace |
| 1426 } // namespace cc | 1426 } // namespace cc |
| OLD | NEW |