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

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

Issue 157743007: cc: Prevent usage of rasterize on-demand with delegating renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more unit test Created 6 years, 10 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
« no previous file with comments | « cc/test/fake_tile_manager.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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 LayerTreeHostImplClient* client_; 456 LayerTreeHostImplClient* client_;
457 Proxy* proxy_; 457 Proxy* proxy_;
458 458
459 private: 459 private:
460 void CreateAndSetRenderer( 460 void CreateAndSetRenderer(
461 OutputSurface* output_surface, 461 OutputSurface* output_surface,
462 ResourceProvider* resource_provider, 462 ResourceProvider* resource_provider,
463 bool skip_gl_renderer); 463 bool skip_gl_renderer);
464 void CreateAndSetTileManager(ResourceProvider* resource_provider, 464 void CreateAndSetTileManager(ResourceProvider* resource_provider,
465 ContextProvider* context_provider, 465 ContextProvider* context_provider,
466 bool using_map_image); 466 bool using_map_image,
467 bool allow_rasterize_on_demand);
467 void ReleaseTreeResources(); 468 void ReleaseTreeResources();
468 void EnforceZeroBudget(bool zero_budget); 469 void EnforceZeroBudget(bool zero_budget);
469 470
470 void ScrollViewportBy(gfx::Vector2dF scroll_delta); 471 void ScrollViewportBy(gfx::Vector2dF scroll_delta);
471 void AnimatePageScale(base::TimeTicks monotonic_time); 472 void AnimatePageScale(base::TimeTicks monotonic_time);
472 void AnimateScrollbars(base::TimeTicks monotonic_time); 473 void AnimateScrollbars(base::TimeTicks monotonic_time);
473 void AnimateTopControls(base::TimeTicks monotonic_time); 474 void AnimateTopControls(base::TimeTicks monotonic_time);
474 475
475 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta( 476 gfx::Vector2dF ScrollLayerWithViewportSpaceDelta(
476 LayerImpl* layer_impl, 477 LayerImpl* layer_impl,
(...skipping 178 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/test/fake_tile_manager.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698