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

Issue 11583005: cc: Make occlusion tracker always work in target space. (Closed)

Created:
8 years ago by danakj
Modified:
8 years ago
Reviewers:
jamesr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, piman, backer
Visibility:
Public.

Description

cc: Make occlusion tracker always work in target space. On desktop this improves LayerTreeHostPerfTestJsonReader.tenTenSingleThread from ~3702.97 runs/s to ~3786.95 runs/s for about 2%. On a phone we observed about 20% reduction in calcRenderPasses in tracing. Covered by the occlusion tracker tests as well as LayerTreeHost and TiledLayer tests with occlusion. BUG=163035 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173411

Patch Set 1 #

Patch Set 2 : Tests pass #

Patch Set 3 : Rebased #

Total comments: 14

Patch Set 4 : rebase+nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+670 lines, -692 lines) Patch
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 1 chunk +0 lines, -97 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 3 10 chunks +66 lines, -81 lines 0 comments Download
M cc/occlusion_tracker.h View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M cc/occlusion_tracker.cc View 1 2 3 9 chunks +265 lines, -240 lines 0 comments Download
M cc/occlusion_tracker_unittest.cc View 1 2 3 51 chunks +190 lines, -167 lines 0 comments Download
M cc/test/occlusion_tracker_test_common.h View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M cc/tiled_layer_unittest.cc View 1 2 3 50 chunks +137 lines, -98 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
danakj
8 years ago (2012-12-14 22:45:14 UTC) #1
jamesr
I *think* I understand this well enough to review, but if you want enne to ...
8 years ago (2012-12-16 00:27:54 UTC) #2
danakj
Thanks. Would definitely appreciate an enne review as well if possible :) On Saturday, December ...
8 years ago (2012-12-16 00:38:53 UTC) #3
enne (OOO)
I'm having a hard time following where the speedups are coming from. Is the speedup ...
8 years ago (2012-12-16 19:44:24 UTC) #4
danakj
https://codereview.chromium.org/11583005/diff/3002/cc/occlusion_tracker.cc File cc/occlusion_tracker.cc (right): https://codereview.chromium.org/11583005/diff/3002/cc/occlusion_tracker.cc#newcode57 cc/occlusion_tracker.cc:57: static gfx::Rect screenSpaceClipRectInTargetSurface(const RenderSurfaceType* targetSurface, gfx::Rect screenSpaceClipRect) On 2012/12/16 ...
8 years ago (2012-12-16 20:16:52 UTC) #5
danakj
Oh, the speed up is from the former. We reduce the number of map/projects that ...
8 years ago (2012-12-16 20:21:19 UTC) #6
enne (OOO)
lgtm. Punting on the other things sounds fine. I think this is a clear win ...
8 years ago (2012-12-16 20:53:17 UTC) #7
danakj
On Sun, Dec 16, 2012 at 3:53 PM, <enne@chromium.org> wrote: > lgtm. Punting on the ...
8 years ago (2012-12-16 21:26:20 UTC) #8
danakj
https://codereview.chromium.org/11583005/diff/3002/cc/occlusion_tracker.cc File cc/occlusion_tracker.cc (right): https://codereview.chromium.org/11583005/diff/3002/cc/occlusion_tracker.cc#newcode420 cc/occlusion_tracker.cc:420: // Check if the unoccluded rect shank when applying ...
8 years ago (2012-12-16 21:30:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11583005/12003
8 years ago (2012-12-16 21:30:08 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-16 23:41:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11583005/12003
8 years ago (2012-12-17 00:09:02 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11583005/12003
8 years ago (2012-12-17 03:51:59 UTC) #13
commit-bot: I haz the power
8 years ago (2012-12-17 03:53:23 UTC) #14
Message was sent while issue was closed.
Change committed as 173411

Powered by Google App Engine
This is Rietveld 408576698