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

Issue 205443002: Do not clip inside OcclusionTracker: Contributing Surfaces Edition. (Closed)

Created:
6 years, 9 months ago by danakj
Modified:
6 years, 9 months ago
Reviewers:
enne (OOO), alokp
CC:
chromium-reviews, cc-bugs_chromium.org, alokp, piman
Visibility:
Public.

Description

Do not clip inside OcclusionTracker: Contributing Surfaces Edition. This is a follow-up for https://codereview.chromium.org/23708021 where we stopped clipping layers in the occlusion tracker. In this CL we stop clipping contributing RenderSurfaces as well. The contents inside the render surface are already clipped, and this is applied to the content rect. While we might be able to clip further in target space, we have to blow the result back up into the content space again, so this should produce about the same results. While we're at it, fix a bug in QuadCuller where it always used the surface draw transform to cull RenderPassDrawQuads even if the quad was for the replica, which could lead to us culling the replica of a surface when the surface itself is occluded. This was covered in occlusion tracker tests, but not in QuadCuller tests. R=enne BUG=344962, 276725 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258431

Patch Set 1 #

Patch Set 2 : occlusion-surface: #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -194 lines) Patch
M cc/test/test_occlusion_tracker.h View 1 chunk +15 lines, -0 lines 0 comments Download
M cc/trees/occlusion_tracker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/occlusion_tracker.cc View 3 chunks +20 lines, -35 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 13 chunks +29 lines, -156 lines 0 comments Download
M cc/trees/quad_culler.cc View 1 2 chunks +8 lines, -1 line 1 comment Download

Messages

Total messages: 18 (0 generated)
danakj
6 years, 9 months ago (2014-03-19 22:18:19 UTC) #1
enne (OOO)
lgtm https://codereview.chromium.org/205443002/diff/20001/cc/trees/quad_culler.cc File cc/trees/quad_culler.cc (right): https://codereview.chromium.org/205443002/diff/20001/cc/trees/quad_culler.cc#newcode71 cc/trees/quad_culler.cc:71: gfx::Transform draw_transform = rpdq->is_replica Replicas. :(
6 years, 9 months ago (2014-03-19 22:53:17 UTC) #2
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-19 23:14:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205443002/20001
6 years, 9 months ago (2014-03-19 23:14:45 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 23:37:48 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-19 23:37:48 UTC) #6
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 15:21:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205443002/20001
6 years, 9 months ago (2014-03-20 15:22:24 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 16:54:21 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=285225
6 years, 9 months ago (2014-03-20 16:54:21 UTC) #10
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 16:54:52 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/205443002/20001
6 years, 9 months ago (2014-03-20 16:55:41 UTC) #12
alokp
You may want to tag crbug.com/276725 as well. Last time I looked, it seemed to ...
6 years, 9 months ago (2014-03-20 17:22:55 UTC) #13
danakj
On 2014/03/20 17:22:55, Alok Priyadarshi wrote: > You may want to tag crbug.com/276725 as well. ...
6 years, 9 months ago (2014-03-20 17:30:09 UTC) #14
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 17:30:54 UTC) #15
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 17:31:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205443002/20001
6 years, 9 months ago (2014-03-20 17:35:56 UTC) #17
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 22:11:58 UTC) #18
Message was sent while issue was closed.
Change committed as 258431

Powered by Google App Engine
This is Rietveld 408576698