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

Side by Side Diff: cc/test/test_layer_tree_host_base.h

Issue 2726343004: cc: Optimize decode scheduling for checker-images. (Closed)
Patch Set: rebase Created 3 years, 8 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/fake_recording_source.h ('k') | cc/test/test_layer_tree_host_base.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CC_TEST_TEST_LAYER_TREE_HOST_BASE_H_ 5 #ifndef CC_TEST_TEST_LAYER_TREE_HOST_BASE_H_
6 #define CC_TEST_TEST_LAYER_TREE_HOST_BASE_H_ 6 #define CC_TEST_TEST_LAYER_TREE_HOST_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "cc/output/compositor_frame_sink.h" 10 #include "cc/output/compositor_frame_sink.h"
(...skipping 28 matching lines...) Expand all
39 std::unique_ptr<FakeLayerTreeHostImpl> TakeHostImpl(); 39 std::unique_ptr<FakeLayerTreeHostImpl> TakeHostImpl();
40 40
41 void SetupDefaultTrees(const gfx::Size& layer_bounds); 41 void SetupDefaultTrees(const gfx::Size& layer_bounds);
42 void SetupTrees(scoped_refptr<RasterSource> pending_raster_source, 42 void SetupTrees(scoped_refptr<RasterSource> pending_raster_source,
43 scoped_refptr<RasterSource> active_raster_source); 43 scoped_refptr<RasterSource> active_raster_source);
44 void SetupPendingTree(scoped_refptr<RasterSource> raster_source); 44 void SetupPendingTree(scoped_refptr<RasterSource> raster_source);
45 void SetupPendingTree(scoped_refptr<RasterSource> raster_source, 45 void SetupPendingTree(scoped_refptr<RasterSource> raster_source,
46 const gfx::Size& tile_size, 46 const gfx::Size& tile_size,
47 const Region& invalidation); 47 const Region& invalidation);
48 void ActivateTree(); 48 void ActivateTree();
49 void PerformImplSideInvalidation();
49 void RebuildPropertyTreesOnPendingTree(); 50 void RebuildPropertyTreesOnPendingTree();
50 51
51 FakeLayerTreeHostImpl* host_impl() const { return host_impl_.get(); } 52 FakeLayerTreeHostImpl* host_impl() const { return host_impl_.get(); }
52 TaskGraphRunner* task_graph_runner() const { 53 TaskGraphRunner* task_graph_runner() const {
53 return task_graph_runner_.get(); 54 return task_graph_runner_.get();
54 } 55 }
55 CompositorFrameSink* compositor_frame_sink() const { 56 CompositorFrameSink* compositor_frame_sink() const {
56 return compositor_frame_sink_.get(); 57 return compositor_frame_sink_.get();
57 } 58 }
58 FakePictureLayerImpl* pending_layer() const { return pending_layer_; } 59 FakePictureLayerImpl* pending_layer() const { return pending_layer_; }
(...skipping 12 matching lines...) Expand all
71 FakePictureLayerImpl* pending_layer_; 72 FakePictureLayerImpl* pending_layer_;
72 FakePictureLayerImpl* active_layer_; 73 FakePictureLayerImpl* active_layer_;
73 FakePictureLayerImpl* old_pending_layer_; 74 FakePictureLayerImpl* old_pending_layer_;
74 const int root_id_; 75 const int root_id_;
75 const int id_; 76 const int id_;
76 }; 77 };
77 78
78 } // namespace cc 79 } // namespace cc
79 80
80 #endif // CC_TEST_TEST_LAYER_TREE_HOST_BASE_H_ 81 #endif // CC_TEST_TEST_LAYER_TREE_HOST_BASE_H_
OLDNEW
« no previous file with comments | « cc/test/fake_recording_source.h ('k') | cc/test/test_layer_tree_host_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698