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

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

Issue 247973005: cc: use viewport-wide tiles for GPU rasterization. (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/layers/picture_layer_impl.cc ('k') | cc/trees/layer_tree_impl.h » ('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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 300
301 void SetNeedsCommit() { client_->SetNeedsCommitOnImplThread(); } 301 void SetNeedsCommit() { client_->SetNeedsCommitOnImplThread(); }
302 void SetNeedsRedraw(); 302 void SetNeedsRedraw();
303 303
304 ManagedMemoryPolicy ActualManagedMemoryPolicy() const; 304 ManagedMemoryPolicy ActualManagedMemoryPolicy() const;
305 305
306 size_t memory_allocation_limit_bytes() const; 306 size_t memory_allocation_limit_bytes() const;
307 int memory_allocation_priority_cutoff() const; 307 int memory_allocation_priority_cutoff() const;
308 308
309 void SetViewportSize(const gfx::Size& device_viewport_size); 309 void SetViewportSize(const gfx::Size& device_viewport_size);
310 gfx::Size device_viewport_size() const { return device_viewport_size_; }
310 311
311 void SetOverdrawBottomHeight(float overdraw_bottom_height); 312 void SetOverdrawBottomHeight(float overdraw_bottom_height);
312 float overdraw_bottom_height() const { return overdraw_bottom_height_; } 313 float overdraw_bottom_height() const { return overdraw_bottom_height_; }
313 314
314 void SetOverhangUIResource(UIResourceId overhang_ui_resource_id, 315 void SetOverhangUIResource(UIResourceId overhang_ui_resource_id,
315 const gfx::Size& overhang_ui_resource_size); 316 const gfx::Size& overhang_ui_resource_size);
316 317
317 void SetDeviceScaleFactor(float device_scale_factor); 318 void SetDeviceScaleFactor(float device_scale_factor);
318 float device_scale_factor() const { return device_scale_factor_; } 319 float device_scale_factor() const { return device_scale_factor_; }
319 320
(...skipping 335 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/layers/picture_layer_impl.cc ('k') | cc/trees/layer_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698