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

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

Issue 23796002: cc: Implement deadine scheduling disabled by default (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedReadback4
Patch Set: Created 7 years, 3 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
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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy); 462 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy);
463 463
464 void DidInitializeVisibleTile(); 464 void DidInitializeVisibleTile();
465 465
466 typedef base::hash_map<UIResourceId, ResourceProvider::ResourceId> 466 typedef base::hash_map<UIResourceId, ResourceProvider::ResourceId>
467 UIResourceMap; 467 UIResourceMap;
468 UIResourceMap ui_resource_map_; 468 UIResourceMap ui_resource_map_;
469 469
470 scoped_ptr<OutputSurface> output_surface_; 470 scoped_ptr<OutputSurface> output_surface_;
471 scoped_refptr<ContextProvider> offscreen_context_provider_; 471 scoped_refptr<ContextProvider> offscreen_context_provider_;
472 bool output_surface_lost_;
472 473
473 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile- 474 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile-
474 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice(). 475 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice().
475 scoped_ptr<ResourceProvider> resource_provider_; 476 scoped_ptr<ResourceProvider> resource_provider_;
476 scoped_ptr<TileManager> tile_manager_; 477 scoped_ptr<TileManager> tile_manager_;
477 scoped_ptr<Renderer> renderer_; 478 scoped_ptr<Renderer> renderer_;
478 479
479 // Tree currently being drawn. 480 // Tree currently being drawn.
480 scoped_ptr<LayerTreeImpl> active_tree_; 481 scoped_ptr<LayerTreeImpl> active_tree_;
481 482
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 567
567 // Optional callback to notify of new tree activations. 568 // Optional callback to notify of new tree activations.
568 base::Closure tree_activation_callback_; 569 base::Closure tree_activation_callback_;
569 570
570 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 571 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
571 }; 572 };
572 573
573 } // namespace cc 574 } // namespace cc
574 575
575 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 576 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698