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

Side by Side Diff: cc/trees/layer_tree_impl.cc

Issue 15579002: Implement transform/clip support for Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Turn on fuzzy comparator for new SoftwareRenderer tests Created 7 years, 6 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 #include "cc/trees/layer_tree_impl.h" 5 #include "cc/trees/layer_tree_impl.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "cc/animation/keyframed_animation_curve.h" 8 #include "cc/animation/keyframed_animation_curve.h"
9 #include "cc/animation/scrollbar_animation_controller.h" 9 #include "cc/animation/scrollbar_animation_controller.h"
10 #include "cc/debug/traced_value.h" 10 #include "cc/debug/traced_value.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 if (!root_layer()) 275 if (!root_layer())
276 return; 276 return;
277 277
278 { 278 {
279 TRACE_EVENT1("cc", 279 TRACE_EVENT1("cc",
280 "LayerTreeImpl::UpdateDrawProperties", 280 "LayerTreeImpl::UpdateDrawProperties",
281 "IsActive", 281 "IsActive",
282 IsActiveTree()); 282 IsActiveTree());
283 LayerTreeHostCommon::CalculateDrawProperties( 283 LayerTreeHostCommon::CalculateDrawProperties(
284 root_layer(), 284 root_layer(),
285 device_viewport_size(), 285 layer_tree_host_impl_->DeviceViewport().size(),
286 layer_tree_host_impl_->DeviceTransform(),
286 device_scale_factor(), 287 device_scale_factor(),
287 total_page_scale_factor(), 288 total_page_scale_factor(),
288 root_scroll_layer_, 289 root_scroll_layer_,
289 MaxTextureSize(), 290 MaxTextureSize(),
290 settings().can_use_lcd_text, 291 settings().can_use_lcd_text,
291 settings().layer_transforms_should_scale_layer_contents, 292 settings().layer_transforms_should_scale_layer_contents,
292 &render_surface_layer_list_); 293 &render_surface_layer_list_);
293 } 294 }
294 295
295 DCHECK(!needs_update_draw_properties_) << 296 DCHECK(!needs_update_draw_properties_) <<
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 559
559 void LayerTreeImpl::ClearLatencyInfo() { 560 void LayerTreeImpl::ClearLatencyInfo() {
560 latency_info_.Clear(); 561 latency_info_.Clear();
561 } 562 }
562 563
563 void LayerTreeImpl::WillModifyTilePriorities() { 564 void LayerTreeImpl::WillModifyTilePriorities() {
564 layer_tree_host_impl_->tile_manager()->WillModifyTilePriorities(); 565 layer_tree_host_impl_->tile_manager()->WillModifyTilePriorities();
565 } 566 }
566 567
567 } // namespace cc 568 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698