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

Issue 384083002: WIP BSP Tree for 3D Layer Sorting (Closed)

Created:
6 years, 5 months ago by troyhildebrandt
Modified:
6 years, 4 months ago
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

WIP BSP Tree for 3D Layer Sorting Still adding test scenarios as I come up with them. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286499

Patch Set 1 #

Patch Set 2 : Small fixes to style/formatting, minor cleanup. #

Total comments: 51

Patch Set 3 : #

Total comments: 18

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Patch Set 6 : Updated for new DrawPolygon code #

Patch Set 7 : Removed heuristic, simplified unittests, new DrawPolygon code #

Patch Set 8 : Removed some forgotten debug output #

Total comments: 21

Patch Set 9 : Rebased with DrawPolygon patch #

Patch Set 10 : #

Total comments: 12

Patch Set 11 : Added CC_EXPORT to classes, fixed gyp files #

Total comments: 2

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+646 lines, -1 line) Patch
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -1 line 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A cc/output/bsp_tree.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +115 lines, -0 lines 0 comments Download
A cc/output/bsp_tree.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +121 lines, -0 lines 0 comments Download
A cc/output/bsp_tree_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +348 lines, -0 lines 0 comments Download
A cc/output/bsp_walk_action.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +34 lines, -0 lines 0 comments Download
A cc/output/bsp_walk_action.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
troyhildebrandt
6 years, 5 months ago (2014-07-14 15:57:13 UTC) #1
Ian Vollick
Sorry for the delay! Here are a bunch of nits and (likely dumb) questions. https://codereview.chromium.org/384083002/diff/20001/cc/output/bsp_controller.cc ...
6 years, 5 months ago (2014-07-16 20:54:34 UTC) #2
troyhildebrandt
https://codereview.chromium.org/384083002/diff/20001/cc/output/bsp_controller.cc File cc/output/bsp_controller.cc (right): https://codereview.chromium.org/384083002/diff/20001/cc/output/bsp_controller.cc#newcode22 cc/output/bsp_controller.cc:22: if (node.normal.z() >= 0.f) On 2014/07/16 20:54:32, Ian Vollick ...
6 years, 5 months ago (2014-07-18 21:48:27 UTC) #3
Ian Vollick
Thanks for these changes! A few more notes. https://codereview.chromium.org/384083002/diff/20001/cc/output/bsp_tree_unittest.cc File cc/output/bsp_tree_unittest.cc (right): https://codereview.chromium.org/384083002/diff/20001/cc/output/bsp_tree_unittest.cc#newcode25 cc/output/bsp_tree_unittest.cc:25: virtual ...
6 years, 5 months ago (2014-07-19 00:45:01 UTC) #4
troyhildebrandt
https://codereview.chromium.org/384083002/diff/40001/cc/output/bsp_controller.cc File cc/output/bsp_controller.cc (right): https://codereview.chromium.org/384083002/diff/40001/cc/output/bsp_controller.cc#newcode14 cc/output/bsp_controller.cc:14: static gfx::Point3F camera_point(0.0f, 0.0f, 0.0f); On 2014/07/19 00:45:01, Ian ...
6 years, 5 months ago (2014-07-21 19:16:51 UTC) #5
Ian Vollick
Thanks for these changes. I'm concerned about test coverage for DrawPolygon, but I think this ...
6 years, 5 months ago (2014-07-22 16:12:15 UTC) #6
troyhildebrandt
https://codereview.chromium.org/384083002/diff/60001/cc/output/bsp_tree.h File cc/output/bsp_tree.h (right): https://codereview.chromium.org/384083002/diff/60001/cc/output/bsp_tree.h#newcode68 cc/output/bsp_tree.h:68: const scoped_ptr<BspNode>& second_child, On 2014/07/22 16:12:15, Ian Vollick wrote: ...
6 years, 5 months ago (2014-07-23 21:43:57 UTC) #7
troyhildebrandt
6 years, 5 months ago (2014-07-24 20:14:56 UTC) #8
enne (OOO)
https://codereview.chromium.org/384083002/diff/140001/cc/output/bsp_controller.cc File cc/output/bsp_controller.cc (right): https://codereview.chromium.org/384083002/diff/140001/cc/output/bsp_controller.cc#newcode1 cc/output/bsp_controller.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 4 months ago (2014-07-28 21:38:20 UTC) #9
troyhildebrandt
https://codereview.chromium.org/384083002/diff/140001/cc/output/bsp_tree.cc File cc/output/bsp_tree.cc (right): https://codereview.chromium.org/384083002/diff/140001/cc/output/bsp_tree.cc#newcode26 cc/output/bsp_tree.cc:26: BspTree::BspTree(BspController* bsp_controller, On 2014/07/28 21:38:20, enne wrote: > This ...
6 years, 4 months ago (2014-07-29 00:04:33 UTC) #10
enne (OOO)
https://codereview.chromium.org/384083002/diff/180001/cc/cc.gyp File cc/cc.gyp (right): https://codereview.chromium.org/384083002/diff/180001/cc/cc.gyp#newcode247 cc/cc.gyp:247: 'output/bsp_compare_result.h', Isn't this supposed to be in the DrawPolygon ...
6 years, 4 months ago (2014-07-29 00:28:08 UTC) #11
troyhildebrandt
https://codereview.chromium.org/384083002/diff/180001/cc/cc.gyp File cc/cc.gyp (right): https://codereview.chromium.org/384083002/diff/180001/cc/cc.gyp#newcode247 cc/cc.gyp:247: 'output/bsp_compare_result.h', On 2014/07/29 00:28:08, enne wrote: > Isn't this ...
6 years, 4 months ago (2014-07-29 19:05:19 UTC) #12
enne (OOO)
lgtm https://codereview.chromium.org/384083002/diff/240001/cc/output/bsp_walk_action.h File cc/output/bsp_walk_action.h (right): https://codereview.chromium.org/384083002/diff/240001/cc/output/bsp_walk_action.h#newcode21 cc/output/bsp_walk_action.h:21: class CC_EXPORT BspWalkActionToVector : public BspWalkAction { Can ...
6 years, 4 months ago (2014-07-29 21:35:41 UTC) #13
troyhildebrandt
https://codereview.chromium.org/384083002/diff/240001/cc/output/bsp_walk_action.h File cc/output/bsp_walk_action.h (right): https://codereview.chromium.org/384083002/diff/240001/cc/output/bsp_walk_action.h#newcode21 cc/output/bsp_walk_action.h:21: class CC_EXPORT BspWalkActionToVector : public BspWalkAction { On 2014/07/29 ...
6 years, 4 months ago (2014-07-29 23:07:56 UTC) #14
troyhildebrandt
The CQ bit was checked by thildebr@chromium.org
6 years, 4 months ago (2014-07-29 23:11:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thildebr@chromium.org/384083002/280001
6 years, 4 months ago (2014-07-29 23:14:16 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-07-30 03:45:01 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-30 05:18:37 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/1256)
6 years, 4 months ago (2014-07-30 05:18:38 UTC) #19
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 4 months ago (2014-07-30 05:42:34 UTC) #20
enne (OOO)
The CQ bit was unchecked by enne@chromium.org
6 years, 4 months ago (2014-07-30 05:42:39 UTC) #21
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-07-30 10:07:53 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thildebr@chromium.org/384083002/280001
6 years, 4 months ago (2014-07-30 10:09:44 UTC) #23
commit-bot: I haz the power
Change committed as 286499
6 years, 4 months ago (2014-07-30 12:50:35 UTC) #24
enne (OOO)
Oops, I forgot to ask you to change this description so it didn't say WIP ...
6 years, 4 months ago (2014-07-30 15:32:09 UTC) #25
troyhildebrandt
6 years, 4 months ago (2014-07-30 16:07:16 UTC) #26
Message was sent while issue was closed.
On 2014/07/30 15:32:09, enne wrote:
> Oops, I forgot to ask you to change this description so it didn't say WIP
> anymore and was more informative.  Ah, well.

Oh ya, I'll remember that for the perf tests for sure.

Powered by Google App Engine
This is Rietveld 408576698