OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 "CCLayerTreeHostImpl.h" | 7 #include "CCLayerTreeHostImpl.h" |
8 | 8 |
9 #include "CCAnimationTestCommon.h" | 9 #include "CCAnimationTestCommon.h" |
10 #include "CCDelegatedRendererLayerImpl.h" | 10 #include "CCDelegatedRendererLayerImpl.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "CCSolidColorDrawQuad.h" | 25 #include "CCSolidColorDrawQuad.h" |
26 #include "CCTestCommon.h" | 26 #include "CCTestCommon.h" |
27 #include "CCTextureDrawQuad.h" | 27 #include "CCTextureDrawQuad.h" |
28 #include "CCTextureLayerImpl.h" | 28 #include "CCTextureLayerImpl.h" |
29 #include "CCTileDrawQuad.h" | 29 #include "CCTileDrawQuad.h" |
30 #include "CCTiledLayerImpl.h" | 30 #include "CCTiledLayerImpl.h" |
31 #include "CCVideoLayerImpl.h" | 31 #include "CCVideoLayerImpl.h" |
32 #include "FakeWebCompositorOutputSurface.h" | 32 #include "FakeWebCompositorOutputSurface.h" |
33 #include "FakeWebGraphicsContext3D.h" | 33 #include "FakeWebGraphicsContext3D.h" |
34 #include "FakeWebScrollbarThemeGeometry.h" | 34 #include "FakeWebScrollbarThemeGeometry.h" |
35 #include <gmock/gmock.h> | 35 #include "testing/gmock/include/gmock/gmock.h" |
36 #include <gtest/gtest.h> | 36 #include "testing/gtest/include/gtest/gtest.h" |
37 #include <public/WebVideoFrame.h> | 37 #include <public/WebVideoFrame.h> |
38 #include <public/WebVideoFrameProvider.h> | 38 #include <public/WebVideoFrameProvider.h> |
39 | 39 |
40 using namespace cc; | 40 using namespace cc; |
41 using namespace CCLayerTestCommon; | 41 using namespace CCLayerTestCommon; |
42 using namespace WebKit; | 42 using namespace WebKit; |
43 using namespace WebKitTests; | 43 using namespace WebKitTests; |
44 | 44 |
45 using ::testing::Mock; | 45 using ::testing::Mock; |
46 using ::testing::Return; | 46 using ::testing::Return; |
(...skipping 4197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4244 while (removeRenderPassesCases[testCaseIndex].name) { | 4244 while (removeRenderPassesCases[testCaseIndex].name) { |
4245 RenderPassRemovalTestData testData; | 4245 RenderPassRemovalTestData testData; |
4246 configureRenderPassTestData(removeRenderPassesCases[testCaseIndex].initS
cript, testData, renderer.get()); | 4246 configureRenderPassTestData(removeRenderPassesCases[testCaseIndex].initS
cript, testData, renderer.get()); |
4247 CCLayerTreeHostImpl::removeRenderPasses(CCLayerTreeHostImpl::CullRenderP
assesWithCachedTextures(*renderer), testData); | 4247 CCLayerTreeHostImpl::removeRenderPasses(CCLayerTreeHostImpl::CullRenderP
assesWithCachedTextures(*renderer), testData); |
4248 verifyRenderPassTestData(removeRenderPassesCases[testCaseIndex], testDat
a); | 4248 verifyRenderPassTestData(removeRenderPassesCases[testCaseIndex], testDat
a); |
4249 testCaseIndex++; | 4249 testCaseIndex++; |
4250 } | 4250 } |
4251 } | 4251 } |
4252 | 4252 |
4253 } // namespace | 4253 } // namespace |
OLD | NEW |