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

Side by Side Diff: cc/layer_sorter.cc

Issue 11366094: cc: Create a Region class that wraps SkRegion, to replace use of WebCore::Region. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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_impl.h ('k') | cc/layer_tiling_data.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 "config.h" 5 #include "config.h"
6 6
7 #include "cc/layer_sorter.h" 7 #include "cc/layer_sorter.h"
8 8
9 #include <algorithm>
9 #include <deque> 10 #include <deque>
10 #include <limits> 11 #include <limits>
11 #include <vector> 12 #include <vector>
12 13
13 #include "base/logging.h" 14 #include "base/logging.h"
14 #include "cc/math_util.h" 15 #include "cc/math_util.h"
15 #include "cc/render_surface_impl.h" 16 #include "cc/render_surface_impl.h"
16 #include <public/WebTransformationMatrix.h> 17 #include <public/WebTransformationMatrix.h>
17 18
18 using namespace std; 19 using namespace std;
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 *it = sortedList[count++]->layer; 408 *it = sortedList[count++]->layer;
408 409
409 DVLOG(2) << "Sorting end ----"; 410 DVLOG(2) << "Sorting end ----";
410 411
411 m_nodes.clear(); 412 m_nodes.clear();
412 m_edges.clear(); 413 m_edges.clear();
413 m_activeEdges.clear(); 414 m_activeEdges.clear();
414 } 415 }
415 416
416 } // namespace cc 417 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_impl.h ('k') | cc/layer_tiling_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698