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

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

Issue 286953008: cc: Allow DeferredInitialize to use DelegatingRenderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OutputSurface::ReleaseContextProvider 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 active_animation_controllers() const { 474 active_animation_controllers() const {
475 return animation_registrar_->active_animation_controllers(); 475 return animation_registrar_->active_animation_controllers();
476 } 476 }
477 477
478 bool manage_tiles_needed() const { return tile_priorities_dirty_; } 478 bool manage_tiles_needed() const { return tile_priorities_dirty_; }
479 479
480 LayerTreeHostImplClient* client_; 480 LayerTreeHostImplClient* client_;
481 Proxy* proxy_; 481 Proxy* proxy_;
482 482
483 private: 483 private:
484 void CreateAndSetRenderer( 484 void CreateAndSetRenderer(OutputSurface* output_surface,
485 OutputSurface* output_surface, 485 ResourceProvider* resource_provider);
486 ResourceProvider* resource_provider,
487 bool skip_gl_renderer);
488 void CreateAndSetTileManager(ResourceProvider* resource_provider, 486 void CreateAndSetTileManager(ResourceProvider* resource_provider,
489 ContextProvider* context_provider, 487 ContextProvider* context_provider,
490 bool use_zero_copy, 488 bool use_zero_copy,
491 bool use_one_copy, 489 bool use_one_copy,
492 bool allow_rasterize_on_demand); 490 bool allow_rasterize_on_demand);
493 void ReleaseTreeResources(); 491 void ReleaseTreeResources();
494 void EnforceZeroBudget(bool zero_budget); 492 void EnforceZeroBudget(bool zero_budget);
495 493
496 void ScrollViewportBy(gfx::Vector2dF scroll_delta); 494 void ScrollViewportBy(gfx::Vector2dF scroll_delta);
497 void AnimatePageScale(base::TimeTicks monotonic_time); 495 void AnimatePageScale(base::TimeTicks monotonic_time);
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 677 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
680 678
681 size_t transfer_buffer_memory_limit_; 679 size_t transfer_buffer_memory_limit_;
682 680
683 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 681 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
684 }; 682 };
685 683
686 } // namespace cc 684 } // namespace cc
687 685
688 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 686 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698