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

Side by Side Diff: cc/layer_tree_impl.cc

Issue 11704002: cc: Generate tilings at other scales for impl-side painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, sort() Created 7 years, 11 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/layer_tree_impl.h ('k') | cc/layer_tree_settings.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 #include "cc/layer_tree_impl.h" 5 #include "cc/layer_tree_impl.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "cc/layer_tree_host_common.h" 8 #include "cc/layer_tree_host_common.h"
9 #include "cc/layer_tree_host_impl.h" 9 #include "cc/layer_tree_host_impl.h"
10 #include "ui/gfx/vector2d_conversions.h" 10 #include "ui/gfx/vector2d_conversions.h"
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 LayerTreeImpl* tree = layer_tree_host_impl_->pendingTree(); 222 LayerTreeImpl* tree = layer_tree_host_impl_->pendingTree();
223 if (!tree) 223 if (!tree)
224 return NULL; 224 return NULL;
225 return tree->LayerById(id); 225 return tree->LayerById(id);
226 } 226 }
227 227
228 int LayerTreeImpl::MaxTextureSize() const { 228 int LayerTreeImpl::MaxTextureSize() const {
229 return layer_tree_host_impl_->rendererCapabilities().maxTextureSize; 229 return layer_tree_host_impl_->rendererCapabilities().maxTextureSize;
230 } 230 }
231 231
232 bool LayerTreeImpl::PinchGestureActive() const {
233 return layer_tree_host_impl_->pinchGestureActive();
234 }
235
232 void LayerTreeImpl::SetNeedsRedraw() { 236 void LayerTreeImpl::SetNeedsRedraw() {
233 layer_tree_host_impl_->setNeedsRedraw(); 237 layer_tree_host_impl_->setNeedsRedraw();
234 } 238 }
235 239
236 void LayerTreeImpl::SetNeedsUpdateDrawProperties() { 240 void LayerTreeImpl::SetNeedsUpdateDrawProperties() {
237 layer_tree_host_impl_->setNeedsUpdateDrawProperties(); 241 layer_tree_host_impl_->setNeedsUpdateDrawProperties();
238 } 242 }
239 243
240 const LayerTreeDebugState& LayerTreeImpl::debug_state() const { 244 const LayerTreeDebugState& LayerTreeImpl::debug_state() const {
241 return layer_tree_host_impl_->debugState(); 245 return layer_tree_host_impl_->debugState();
(...skipping 21 matching lines...) Expand all
263 267
264 AnimationRegistrar* LayerTreeImpl::animationRegistrar() const { 268 AnimationRegistrar* LayerTreeImpl::animationRegistrar() const {
265 return layer_tree_host_impl_->animationRegistrar(); 269 return layer_tree_host_impl_->animationRegistrar();
266 } 270 }
267 271
268 const PinchZoomViewport& LayerTreeImpl::pinch_zoom_viewport() const { 272 const PinchZoomViewport& LayerTreeImpl::pinch_zoom_viewport() const {
269 return layer_tree_host_impl_->pinchZoomViewport(); 273 return layer_tree_host_impl_->pinchZoomViewport();
270 } 274 }
271 275
272 } // namespace cc 276 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_impl.h ('k') | cc/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698