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

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

Issue 287643004: Re-land: cc: Examine layers to determine if we're ready to activate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | Annotate | Revision Log
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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 Proxy* proxy_; 481 Proxy* proxy_;
482 482
483 private: 483 private:
484 void CreateAndSetRenderer( 484 void CreateAndSetRenderer(
485 OutputSurface* output_surface, 485 OutputSurface* output_surface,
486 ResourceProvider* resource_provider, 486 ResourceProvider* resource_provider,
487 bool skip_gl_renderer); 487 bool skip_gl_renderer);
488 void CreateAndSetTileManager(ResourceProvider* resource_provider, 488 void CreateAndSetTileManager(ResourceProvider* resource_provider,
489 ContextProvider* context_provider, 489 ContextProvider* context_provider,
490 bool use_zero_copy, 490 bool use_zero_copy,
491 bool use_one_copy, 491 bool use_one_copy);
492 bool allow_rasterize_on_demand);
493 void ReleaseTreeResources(); 492 void ReleaseTreeResources();
494 void EnforceZeroBudget(bool zero_budget); 493 void EnforceZeroBudget(bool zero_budget);
495 494
496 void ScrollViewportBy(gfx::Vector2dF scroll_delta); 495 void ScrollViewportBy(gfx::Vector2dF scroll_delta);
497 void AnimatePageScale(base::TimeTicks monotonic_time); 496 void AnimatePageScale(base::TimeTicks monotonic_time);
498 void AnimateScrollbars(base::TimeTicks monotonic_time); 497 void AnimateScrollbars(base::TimeTicks monotonic_time);
499 void AnimateTopControls(base::TimeTicks monotonic_time); 498 void AnimateTopControls(base::TimeTicks monotonic_time);
500 499
501 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( 500 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta(
502 LayerImpl* layer_impl, 501 LayerImpl* layer_impl,
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 678 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
680 679
681 size_t transfer_buffer_memory_limit_; 680 size_t transfer_buffer_memory_limit_;
682 681
683 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 682 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
684 }; 683 };
685 684
686 } // namespace cc 685 } // namespace cc
687 686
688 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 687 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698