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

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

Issue 255533002: cc: Remove unused_memory_limit_in_bytes field from GlobalStateThatImpactsTilePriority. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/resources/tile_priority.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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 } 254 }
255 255
256 std::string LayerTreeAsJson() const; 256 std::string LayerTreeAsJson() const;
257 257
258 void FinishAllRendering(); 258 void FinishAllRendering();
259 int SourceAnimationFrameNumber() const; 259 int SourceAnimationFrameNumber() const;
260 260
261 virtual bool InitializeRenderer(scoped_ptr<OutputSurface> output_surface); 261 virtual bool InitializeRenderer(scoped_ptr<OutputSurface> output_surface);
262 bool IsContextLost(); 262 bool IsContextLost();
263 TileManager* tile_manager() { return tile_manager_.get(); } 263 TileManager* tile_manager() { return tile_manager_.get(); }
264 ResourcePool* resource_pool() { return resource_pool_.get(); }
264 Renderer* renderer() { return renderer_.get(); } 265 Renderer* renderer() { return renderer_.get(); }
265 const RendererCapabilitiesImpl& GetRendererCapabilities() const; 266 const RendererCapabilitiesImpl& GetRendererCapabilities() const;
266 267
267 virtual bool SwapBuffers(const FrameData& frame); 268 virtual bool SwapBuffers(const FrameData& frame);
268 void SetNeedsBeginFrame(bool enable); 269 void SetNeedsBeginFrame(bool enable);
269 virtual void WillBeginImplFrame(const BeginFrameArgs& args); 270 virtual void WillBeginImplFrame(const BeginFrameArgs& args);
270 void DidModifyTilePriorities(); 271 void DidModifyTilePriorities();
271 272
272 void Readback(void* pixels, const gfx::Rect& rect_in_device_viewport); 273 void Readback(void* pixels, const gfx::Rect& rect_in_device_viewport);
273 274
(...skipping 381 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/resources/tile_priority.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698