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

Side by Side Diff: cc/output/bsp_tree.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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/layers/viewport.h ('k') | cc/output/bsp_tree_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CC_OUTPUT_BSP_TREE_H_ 5 #ifndef CC_OUTPUT_BSP_TREE_H_
6 #define CC_OUTPUT_BSP_TREE_H_ 6 #define CC_OUTPUT_BSP_TREE_H_
7 7
8 #include <stddef.h>
9
8 #include <deque> 10 #include <deque>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
12 #include "cc/output/bsp_compare_result.h" 14 #include "cc/output/bsp_compare_result.h"
13 #include "cc/quads/draw_polygon.h" 15 #include "cc/quads/draw_polygon.h"
14 16
15 namespace cc { 17 namespace cc {
16 18
17 struct BspNode { 19 struct BspNode {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 static BspCompareResult GetNodePositionRelative(const DrawPolygon& node_a, 106 static BspCompareResult GetNodePositionRelative(const DrawPolygon& node_a,
105 const DrawPolygon& node_b); 107 const DrawPolygon& node_b);
106 // Returns whether or not our viewer is in front of or behind the plane 108 // Returns whether or not our viewer is in front of or behind the plane
107 // defined by this polygon/node 109 // defined by this polygon/node
108 static BspCompareResult GetCameraPositionRelative(const DrawPolygon& node); 110 static BspCompareResult GetCameraPositionRelative(const DrawPolygon& node);
109 }; 111 };
110 112
111 } // namespace cc 113 } // namespace cc
112 114
113 #endif // CC_OUTPUT_BSP_TREE_H_ 115 #endif // CC_OUTPUT_BSP_TREE_H_
OLDNEW
« no previous file with comments | « cc/layers/viewport.h ('k') | cc/output/bsp_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698