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

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 219963005: cc: Add support for partial swaps when using impl-side painting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve cc_unittests build error Created 6 years, 7 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/trees/damage_tracker_unittest.cc ('k') | cc/trees/layer_tree_host_impl.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 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // excludes the URL bar and non-overlay scrollbars and is in DIP (and 216 // excludes the URL bar and non-overlay scrollbars and is in DIP (and
217 // invariant relative to page scale). 217 // invariant relative to page scale).
218 gfx::SizeF UnscaledScrollableViewportSize() const; 218 gfx::SizeF UnscaledScrollableViewportSize() const;
219 float VerticalAdjust() const; 219 float VerticalAdjust() const;
220 220
221 // RendererClient implementation. 221 // RendererClient implementation.
222 virtual void SetFullRootLayerDamage() OVERRIDE; 222 virtual void SetFullRootLayerDamage() OVERRIDE;
223 223
224 // TileManagerClient implementation. 224 // TileManagerClient implementation.
225 virtual void NotifyReadyToActivate() OVERRIDE; 225 virtual void NotifyReadyToActivate() OVERRIDE;
226 virtual void NotifyTileInitialized(const Tile* tile) OVERRIDE;
226 227
227 // OutputSurfaceClient implementation. 228 // OutputSurfaceClient implementation.
228 virtual void DeferredInitialize() OVERRIDE; 229 virtual void DeferredInitialize() OVERRIDE;
229 virtual void ReleaseGL() OVERRIDE; 230 virtual void ReleaseGL() OVERRIDE;
230 virtual void CommitVSyncParameters(base::TimeTicks timebase, 231 virtual void CommitVSyncParameters(base::TimeTicks timebase,
231 base::TimeDelta interval) OVERRIDE; 232 base::TimeDelta interval) OVERRIDE;
232 virtual void SetNeedsRedrawRect(const gfx::Rect& rect) OVERRIDE; 233 virtual void SetNeedsRedrawRect(const gfx::Rect& rect) OVERRIDE;
233 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE; 234 virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE;
234 virtual void SetExternalDrawConstraints( 235 virtual void SetExternalDrawConstraints(
235 const gfx::Transform& transform, 236 const gfx::Transform& transform,
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 int id_; 656 int id_;
656 657
657 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 658 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
658 659
659 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 660 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
660 }; 661 };
661 662
662 } // namespace cc 663 } // namespace cc
663 664
664 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 665 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698