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

Side by Side Diff: cc/tiles/picture_layer_tiling_set.cc

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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/tiles/picture_layer_tiling.cc ('k') | cc/tiles/prioritized_tile.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 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/tiles/picture_layer_tiling_set.h" 5 #include "cc/tiles/picture_layer_tiling_set.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <limits> 9 #include <limits>
10 #include <set> 10 #include <set>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
16 #include "cc/playback/raster_source.h" 16 #include "cc/raster/raster_source.h"
17 #include "ui/gfx/geometry/rect_conversions.h" 17 #include "ui/gfx/geometry/rect_conversions.h"
18 18
19 namespace cc { 19 namespace cc {
20 20
21 namespace { 21 namespace {
22 22
23 class LargestToSmallestScaleFunctor { 23 class LargestToSmallestScaleFunctor {
24 public: 24 public:
25 bool operator()(const std::unique_ptr<PictureLayerTiling>& left, 25 bool operator()(const std::unique_ptr<PictureLayerTiling>& left,
26 const std::unique_ptr<PictureLayerTiling>& right) { 26 const std::unique_ptr<PictureLayerTiling>& right) {
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 case LOWER_THAN_LOW_RES: 776 case LOWER_THAN_LOW_RES:
777 range = TilingRange(low_res_range.end, tilings_size); 777 range = TilingRange(low_res_range.end, tilings_size);
778 break; 778 break;
779 } 779 }
780 780
781 DCHECK_LE(range.start, range.end); 781 DCHECK_LE(range.start, range.end);
782 return range; 782 return range;
783 } 783 }
784 784
785 } // namespace cc 785 } // namespace cc
OLDNEW
« no previous file with comments | « cc/tiles/picture_layer_tiling.cc ('k') | cc/tiles/prioritized_tile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698