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

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

Issue 202763002: Switch to use SharedBitmapManager all the time in cc_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 453
454 const AnimationRegistrar::AnimationControllerMap& 454 const AnimationRegistrar::AnimationControllerMap&
455 active_animation_controllers() const { 455 active_animation_controllers() const {
456 return animation_registrar_->active_animation_controllers(); 456 return animation_registrar_->active_animation_controllers();
457 } 457 }
458 458
459 bool manage_tiles_needed() const { return tile_priorities_dirty_; } 459 bool manage_tiles_needed() const { return tile_priorities_dirty_; }
460 460
461 LayerTreeHostImplClient* client_; 461 LayerTreeHostImplClient* client_;
462 Proxy* proxy_; 462 Proxy* proxy_;
463 SharedBitmapManager* shared_bitmap_manager_;
463 464
464 private: 465 private:
465 void CreateAndSetRenderer( 466 void CreateAndSetRenderer(
466 OutputSurface* output_surface, 467 OutputSurface* output_surface,
467 ResourceProvider* resource_provider, 468 ResourceProvider* resource_provider,
468 bool skip_gl_renderer); 469 bool skip_gl_renderer);
469 void CreateAndSetTileManager(ResourceProvider* resource_provider, 470 void CreateAndSetTileManager(ResourceProvider* resource_provider,
470 ContextProvider* context_provider, 471 ContextProvider* context_provider,
471 bool using_map_image, 472 bool using_map_image,
472 bool allow_rasterize_on_demand); 473 bool allow_rasterize_on_demand);
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 MicroBenchmarkControllerImpl micro_benchmark_controller_; 646 MicroBenchmarkControllerImpl micro_benchmark_controller_;
646 647
647 bool need_to_update_visible_tiles_before_draw_; 648 bool need_to_update_visible_tiles_before_draw_;
648 #ifndef NDEBUG 649 #ifndef NDEBUG
649 bool did_lose_called_; 650 bool did_lose_called_;
650 #endif 651 #endif
651 652
652 // Optional callback to notify of new tree activations. 653 // Optional callback to notify of new tree activations.
653 base::Closure tree_activation_callback_; 654 base::Closure tree_activation_callback_;
654 655
655 SharedBitmapManager* shared_bitmap_manager_;
656 int id_; 656 int id_;
657 657
658 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 658 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
659 659
660 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 660 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
661 }; 661 };
662 662
663 } // namespace cc 663 } // namespace cc
664 664
665 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 665 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698