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

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

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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/output/bsp_tree.h ('k') | cc/resources/display_item.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 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 #include "cc/output/bsp_tree.h" 5 #include "cc/output/bsp_tree.h"
6 6
7 #include <list>
8 #include <vector> 7 #include <vector>
9 8
10 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
11 #include "cc/base/scoped_ptr_deque.h" 10 #include "cc/base/scoped_ptr_deque.h"
12 #include "cc/base/scoped_ptr_vector.h" 11 #include "cc/base/scoped_ptr_vector.h"
13 #include "cc/output/bsp_compare_result.h" 12 #include "cc/output/bsp_compare_result.h"
14 #include "cc/quads/draw_polygon.h" 13 #include "cc/quads/draw_polygon.h"
15 14
16 namespace cc { 15 namespace cc {
17 16
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 if (node.normal().z() > 0.0f) { 111 if (node.normal().z() > 0.0f) {
113 return BSP_FRONT; 112 return BSP_FRONT;
114 } 113 }
115 return BSP_BACK; 114 return BSP_BACK;
116 } 115 }
117 116
118 BspTree::~BspTree() { 117 BspTree::~BspTree() {
119 } 118 }
120 119
121 } // namespace cc 120 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/bsp_tree.h ('k') | cc/resources/display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698