| 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 "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "CCResourceProvider.h" | 7 #include "CCResourceProvider.h" |
| 8 | 8 |
| 9 #include "CCGraphicsContext.h" | 9 #include "CCGraphicsContext.h" |
| 10 #include "CCSingleThreadProxy.h" // For DebugScopedSetImplThread | |
| 11 #include "base/logging.h" | 10 #include "base/logging.h" |
| 12 #include "cc/scoped_ptr_deque.h" | 11 #include "cc/scoped_ptr_deque.h" |
| 13 #include "cc/scoped_ptr_hash_map.h" | 12 #include "cc/scoped_ptr_hash_map.h" |
| 13 #include "cc/single_thread_proxy.h" // For DebugScopedSetImplThread |
| 14 #include "cc/test/compositor_fake_web_graphics_context_3d.h" | 14 #include "cc/test/compositor_fake_web_graphics_context_3d.h" |
| 15 #include "cc/test/fake_web_compositor_output_surface.h" | 15 #include "cc/test/fake_web_compositor_output_surface.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "third_party/khronos/GLES2/gl2.h" | 17 #include "third_party/khronos/GLES2/gl2.h" |
| 18 #include "third_party/khronos/GLES2/gl2ext.h" | 18 #include "third_party/khronos/GLES2/gl2ext.h" |
| 19 #include <public/WebGraphicsContext3D.h> | 19 #include <public/WebGraphicsContext3D.h> |
| 20 | 20 |
| 21 using namespace cc; | 21 using namespace cc; |
| 22 using namespace WebKit; | 22 using namespace WebKit; |
| 23 | 23 |
| (...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 } | 580 } |
| 581 EXPECT_EQ(0u, childResourceProvider->numResources()); | 581 EXPECT_EQ(0u, childResourceProvider->numResources()); |
| 582 } | 582 } |
| 583 | 583 |
| 584 INSTANTIATE_TEST_CASE_P(CCResourceProviderTests, | 584 INSTANTIATE_TEST_CASE_P(CCResourceProviderTests, |
| 585 CCResourceProviderTest, | 585 CCResourceProviderTest, |
| 586 ::testing::Values(CCResourceProvider::GLTexture, | 586 ::testing::Values(CCResourceProvider::GLTexture, |
| 587 CCResourceProvider::Bitmap)); | 587 CCResourceProvider::Bitmap)); |
| 588 | 588 |
| 589 } // namespace | 589 } // namespace |
| OLD | NEW |