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

Issue 205503002: cc: Apply occlusion before creating quads in RenderSurfaceImpl. (Closed)

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

Description

cc: Apply occlusion before creating quads in RenderSurfaceImpl. This makes the AppendQuads method query occlusion directly and subtract it from the quads it would create before they are created, skipping quads that are completely occluded and avoiding a malloc/free for them. Depends on: https://codereview.chromium.org/205443002/ Depends on: https://codereview.chromium.org/203463015/ R=enne BUG=344962 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258633

Patch Set 1 #

Total comments: 4

Patch Set 2 : append-rendersurface: #

Patch Set 3 : append-rendersurface: test #

Patch Set 4 : append-rendersurface: headers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -18 lines) Patch
M cc/cc_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/quad_sink.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M cc/layers/render_surface_impl.cc View 1 5 chunks +9 lines, -6 lines 0 comments Download
A + cc/layers/render_surface_impl_unittest.cc View 1 2 3 4 chunks +15 lines, -12 lines 0 comments Download
M cc/test/layer_test_common.h View 2 chunks +4 lines, -0 lines 0 comments Download
M cc/test/layer_test_common.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M cc/test/mock_quad_culler.h View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M cc/test/mock_quad_culler.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M cc/trees/quad_culler.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/quad_culler.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
danakj
6 years, 9 months ago (2014-03-19 22:33:33 UTC) #1
enne (OOO)
https://codereview.chromium.org/205503002/diff/1/cc/layers/render_surface_impl.cc File cc/layers/render_surface_impl.cc (right): https://codereview.chromium.org/205503002/diff/1/cc/layers/render_surface_impl.cc#newcode147 cc/layers/render_surface_impl.cc:147: quad_sink->UnoccludedContentRect(content_rect_, draw_transform); Why does this not use UnoccludedContributingSurfaceContentRect? That's ...
6 years, 9 months ago (2014-03-19 23:05:32 UTC) #2
danakj
https://codereview.chromium.org/205503002/diff/1/cc/layers/render_surface_impl.cc File cc/layers/render_surface_impl.cc (right): https://codereview.chromium.org/205503002/diff/1/cc/layers/render_surface_impl.cc#newcode147 cc/layers/render_surface_impl.cc:147: quad_sink->UnoccludedContentRect(content_rect_, draw_transform); On 2014/03/19 23:05:32, enne wrote: > Why ...
6 years, 9 months ago (2014-03-19 23:12:32 UTC) #3
enne (OOO)
https://codereview.chromium.org/205503002/diff/1/cc/layers/render_surface_impl.cc File cc/layers/render_surface_impl.cc (right): https://codereview.chromium.org/205503002/diff/1/cc/layers/render_surface_impl.cc#newcode147 cc/layers/render_surface_impl.cc:147: quad_sink->UnoccludedContentRect(content_rect_, draw_transform); On 2014/03/19 23:12:33, danakj wrote: > On ...
6 years, 9 months ago (2014-03-19 23:18:36 UTC) #4
danakj
https://codereview.chromium.org/205503002/diff/1/cc/layers/render_surface_impl.cc File cc/layers/render_surface_impl.cc (right): https://codereview.chromium.org/205503002/diff/1/cc/layers/render_surface_impl.cc#newcode147 cc/layers/render_surface_impl.cc:147: quad_sink->UnoccludedContentRect(content_rect_, draw_transform); On 2014/03/19 23:18:36, enne wrote: > On ...
6 years, 9 months ago (2014-03-19 23:22:21 UTC) #5
enne (OOO)
lgtm
6 years, 9 months ago (2014-03-19 23:50:03 UTC) #6
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 21:46:04 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/205503002/80001
6 years, 9 months ago (2014-03-20 21:48:52 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 21:55:36 UTC) #9
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-20 21:55:36 UTC) #10
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 22:01:56 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/205503002/80001
6 years, 9 months ago (2014-03-20 22:06:29 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 22:12:40 UTC) #13
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-20 22:12:41 UTC) #14
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 22:14:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205503002/80001
6 years, 9 months ago (2014-03-20 22:16:30 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 22:26:23 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 9 months ago (2014-03-20 22:26:23 UTC) #18
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 22:27:30 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205503002/80001
6 years, 9 months ago (2014-03-20 22:30:30 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 22:38:59 UTC) #21
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-20 22:38:59 UTC) #22
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 22:39:41 UTC) #23
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 22:40:38 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205503002/100001
6 years, 9 months ago (2014-03-20 22:41:21 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 22:41:46 UTC) #26
commit-bot: I haz the power
Failed to apply patch for cc/cc_tests.gyp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-20 22:41:47 UTC) #27
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 23:34:01 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205503002/120001
6 years, 9 months ago (2014-03-20 23:34:22 UTC) #29
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-20 23:35:04 UTC) #30
commit-bot: I haz the power
Failed to trigger a try job on win_x64_rel HTTP Error 400: Bad Request
6 years, 9 months ago (2014-03-20 23:42:57 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205503002/140001
6 years, 9 months ago (2014-03-20 23:43:50 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 00:38:46 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-21 00:38:47 UTC) #34
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-21 16:34:37 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/205503002/140001
6 years, 9 months ago (2014-03-21 16:35:15 UTC) #36
commit-bot: I haz the power
6 years, 9 months ago (2014-03-21 18:41:13 UTC) #37
Message was sent while issue was closed.
Change committed as 258633

Powered by Google App Engine
This is Rietveld 408576698