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

Side by Side Diff: cc/layer_sorter.cc

Issue 11233025: cc: Remove CC*.h temporary includes, part 4/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_sorter_unittest.cc » ('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 "CCLayerSorter.h" 7 #include "CCLayerSorter.h"
8 8
9 #include "CCMathUtil.h"
10 #include "CCRenderSurface.h" 9 #include "CCRenderSurface.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include <limits.h> 11 #include "cc/math_util.h"
13 #include <public/WebTransformationMatrix.h> 12 #include <public/WebTransformationMatrix.h>
14 #include <deque> 13 #include <deque>
14 #include <limits>
15 #include <vector> 15 #include <vector>
16 16
17 using namespace std; 17 using namespace std;
18 using WebKit::WebTransformationMatrix; 18 using WebKit::WebTransformationMatrix;
19 19
20 namespace cc { 20 namespace cc {
21 21
22 inline static float perpProduct(const FloatSize& u, const FloatSize& v) 22 inline static float perpProduct(const FloatSize& u, const FloatSize& v)
23 { 23 {
24 return u.width() * v.height() - u.height() * v.width(); 24 return u.width() * v.height() - u.height() * v.width();
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 *it = sortedList[count++]->layer; 402 *it = sortedList[count++]->layer;
403 403
404 DVLOG(2) << "Sorting end ----"; 404 DVLOG(2) << "Sorting end ----";
405 405
406 m_nodes.clear(); 406 m_nodes.clear();
407 m_edges.clear(); 407 m_edges.clear();
408 m_activeEdges.clear(); 408 m_activeEdges.clear();
409 } 409 }
410 410
411 } 411 }
OLDNEW
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_sorter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698