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

Side by Side Diff: cc/picture_layer_impl.cc

Issue 12084031: A host of micro-optimizations and a refactor of TimeForBoundsToIntersect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged to tip of tree and refactored TilePriority::TimeForBoundsToIntersect Created 7 years, 10 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 | « no previous file | cc/picture_layer_tiling.cc » ('j') | cc/picture_layer_tiling.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/picture_layer_impl.h" 5 #include "cc/picture_layer_impl.h"
6 6
7 #include "base/debug/trace_event.h"
enne (OOO) 2013/01/30 06:53:56 Please don't add this unnecessary include.
whunt 2013/01/30 21:07:33 No idea how that got there. I'm not even sure wha
7 #include "base/time.h" 8 #include "base/time.h"
8 #include "cc/append_quads_data.h" 9 #include "cc/append_quads_data.h"
9 #include "cc/checkerboard_draw_quad.h" 10 #include "cc/checkerboard_draw_quad.h"
10 #include "cc/debug_border_draw_quad.h" 11 #include "cc/debug_border_draw_quad.h"
11 #include "cc/debug_colors.h" 12 #include "cc/debug_colors.h"
12 #include "cc/layer_tree_impl.h" 13 #include "cc/layer_tree_impl.h"
13 #include "cc/math_util.h" 14 #include "cc/math_util.h"
14 #include "cc/quad_sink.h" 15 #include "cc/quad_sink.h"
15 #include "cc/solid_color_draw_quad.h" 16 #include "cc/solid_color_draw_quad.h"
16 #include "cc/tile_draw_quad.h" 17 #include "cc/tile_draw_quad.h"
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 tilings_->Remove(to_remove[i]); 585 tilings_->Remove(to_remove[i]);
585 } 586 }
586 587
587 void PictureLayerImpl::getDebugBorderProperties( 588 void PictureLayerImpl::getDebugBorderProperties(
588 SkColor* color, float* width) const { 589 SkColor* color, float* width) const {
589 *color = DebugColors::TiledContentLayerBorderColor(); 590 *color = DebugColors::TiledContentLayerBorderColor();
590 *width = DebugColors::TiledContentLayerBorderWidth(layerTreeImpl()); 591 *width = DebugColors::TiledContentLayerBorderWidth(layerTreeImpl());
591 } 592 }
592 593
593 } // namespace cc 594 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | cc/picture_layer_tiling.cc » ('j') | cc/picture_layer_tiling.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698