Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: cc/trees/layer_tree_host_unittest.cc

Issue 2401703002: cc/blimp: Set up the framework for LayerTreeTests in remote mode. (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_unittest_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "cc/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 6715 matching lines...) Expand 10 before | Expand all | Expand 10 after
6726 layer_tree()->SetDeviceScaleFactor(2.f); 6726 layer_tree()->SetDeviceScaleFactor(2.f);
6727 break; 6727 break;
6728 } 6728 }
6729 } 6729 }
6730 6730
6731 void AfterTest() override {} 6731 void AfterTest() override {}
6732 6732
6733 FakeContentLayerClient client_; 6733 FakeContentLayerClient client_;
6734 }; 6734 };
6735 6735
6736 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeTestMaskLayerWithDifferentBounds); 6736 SINGLE_MULTI_AND_REMOTE_TEST_F(LayerTreeTestMaskLayerWithDifferentBounds);
6737 6737
6738 class LayerTreeTestPageScaleFlags : public LayerTreeTest { 6738 class LayerTreeTestPageScaleFlags : public LayerTreeTest {
6739 protected: 6739 protected:
6740 void SetupTree() override { 6740 void SetupTree() override {
6741 // -root 6741 // -root
6742 // -pre page scale 6742 // -pre page scale
6743 // -page scale 6743 // -page scale
6744 // -page scale child1 6744 // -page scale child1
6745 // -page scale grandchild 6745 // -page scale grandchild
6746 // -page scale child2 6746 // -page scale child2
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
6797 6797
6798 EndTest(); 6798 EndTest();
6799 } 6799 }
6800 6800
6801 void AfterTest() override {} 6801 void AfterTest() override {}
6802 6802
6803 std::vector<int> affected_by_page_scale_; 6803 std::vector<int> affected_by_page_scale_;
6804 std::vector<int> not_affected_by_page_scale_; 6804 std::vector<int> not_affected_by_page_scale_;
6805 }; 6805 };
6806 6806
6807 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeTestPageScaleFlags); 6807 SINGLE_MULTI_AND_REMOTE_TEST_F(LayerTreeTestPageScaleFlags);
6808 6808
6809 class LayerTreeHostTestDestroyWhileInitializingOutputSurface 6809 class LayerTreeHostTestDestroyWhileInitializingOutputSurface
6810 : public LayerTreeHostTest { 6810 : public LayerTreeHostTest {
6811 protected: 6811 protected:
6812 void BeginTest() override { 6812 void BeginTest() override {
6813 // By ending the test immediately we start initialization of an output 6813 // By ending the test immediately we start initialization of an output
6814 // surface but destroy the LTH before it completes. This test verifies 6814 // surface but destroy the LTH before it completes. This test verifies
6815 // that this works correctly and the output surface is destroyed on 6815 // that this works correctly and the output surface is destroyed on
6816 // the correct thread. 6816 // the correct thread.
6817 EndTest(); 6817 EndTest();
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
7008 EndTest(); 7008 EndTest();
7009 } 7009 }
7010 7010
7011 void AfterTest() override {} 7011 void AfterTest() override {}
7012 }; 7012 };
7013 7013
7014 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostTestSubmitFrameResources); 7014 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostTestSubmitFrameResources);
7015 7015
7016 } // namespace 7016 } // namespace
7017 } // namespace cc 7017 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_unittest_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698