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

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

Issue 662473003: cc: Replace > > with >> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: angles: . Created 6 years, 2 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_occlusion.cc ('k') | no next file » | 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/trees/layer_tree_impl.h" 5 #include "cc/trees/layer_tree_impl.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <set> 8 #include <set>
9 9
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 LayerTreeHostCommon::CalculateDrawProperties(&inputs); 503 LayerTreeHostCommon::CalculateDrawProperties(&inputs);
504 } 504 }
505 505
506 { 506 {
507 TRACE_EVENT2("cc", 507 TRACE_EVENT2("cc",
508 "LayerTreeImpl::UpdateTilePriorities", 508 "LayerTreeImpl::UpdateTilePriorities",
509 "IsActive", 509 "IsActive",
510 IsActiveTree(), 510 IsActiveTree(),
511 "SourceFrameNumber", 511 "SourceFrameNumber",
512 source_frame_number_); 512 source_frame_number_);
513 scoped_ptr<OcclusionTracker<LayerImpl> > occlusion_tracker; 513 scoped_ptr<OcclusionTracker<LayerImpl>> occlusion_tracker;
514 if (settings().use_occlusion_for_tile_prioritization) { 514 if (settings().use_occlusion_for_tile_prioritization) {
515 occlusion_tracker.reset(new OcclusionTracker<LayerImpl>( 515 occlusion_tracker.reset(new OcclusionTracker<LayerImpl>(
516 root_layer()->render_surface()->content_rect())); 516 root_layer()->render_surface()->content_rect()));
517 occlusion_tracker->set_minimum_tracking_size( 517 occlusion_tracker->set_minimum_tracking_size(
518 settings().minimum_occlusion_tracking_size); 518 settings().minimum_occlusion_tracking_size);
519 } 519 }
520 520
521 bool resourceless_software_draw = (layer_tree_host_impl_->GetDrawMode() == 521 bool resourceless_software_draw = (layer_tree_host_impl_->GetDrawMode() ==
522 DRAW_MODE_RESOURCELESS_SOFTWARE); 522 DRAW_MODE_RESOURCELESS_SOFTWARE);
523 523
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 page_scale, 1516 page_scale,
1517 duration.InSecondsF()); 1517 duration.InSecondsF());
1518 } 1518 }
1519 } 1519 }
1520 1520
1521 scoped_ptr<PageScaleAnimation> LayerTreeImpl::TakePageScaleAnimation() { 1521 scoped_ptr<PageScaleAnimation> LayerTreeImpl::TakePageScaleAnimation() {
1522 return page_scale_animation_.Pass(); 1522 return page_scale_animation_.Pass();
1523 } 1523 }
1524 1524
1525 } // namespace cc 1525 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_occlusion.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698