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

Issue 607023003: cc: Unify the occlusion access by adding an ability to scale transform. (Closed)

Created:
6 years, 2 months ago by vmpstr
Modified:
6 years, 2 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Unify the occlusion access by adding an ability to scale transform. This change adds GetOcclusionWithGivenDrawTransform to Occlusion. This allows us to get occlusion tracker out of the layer by always passing an occlusion with a draw transform. Then, each layer can still get a more convenient version of the occlusion by providing a different draw transform. R=danakj Committed: https://crrev.com/61c35e8db648a01dc75b7ab04af454e0fec9dfba Cr-Commit-Position: refs/heads/master@{#298403}

Patch Set 1 #

Patch Set 2 : +tests #

Total comments: 3

Patch Set 3 : update #

Patch Set 4 : +build.gn change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -20 lines) Patch
M cc/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 chunks +14 lines, -14 lines 0 comments Download
M cc/trees/occlusion.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/occlusion.cc View 1 2 2 chunks +13 lines, -6 lines 0 comments Download
A cc/trees/occlusion_unittest.cc View 1 2 1 chunk +272 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
vmpstr
PTAL
6 years, 2 months ago (2014-10-03 18:34:02 UTC) #1
danakj
Can you add a unit test for Occlusion? On Oct 3, 2014 2:34 PM, <vmpstr@chromium.org> ...
6 years, 2 months ago (2014-10-03 18:49:42 UTC) #2
danakj
And how about an override with only 1 scale that calls the other so less ...
6 years, 2 months ago (2014-10-03 18:52:16 UTC) #3
vmpstr
On 2014/10/03 18:52:16, danakj wrote: > And how about an override with only 1 scale ...
6 years, 2 months ago (2014-10-03 18:53:17 UTC) #4
vmpstr
Occlusion was missing some tests, so I've added them. Let me know if you really ...
6 years, 2 months ago (2014-10-03 21:28:25 UTC) #5
danakj
They're allowed but consider another name is what it says. You could adjust the name ...
6 years, 2 months ago (2014-10-05 03:06:58 UTC) #6
danakj
Tests look cool. FWIW the two query funcs on the Tracker have a test each ...
6 years, 2 months ago (2014-10-05 17:27:39 UTC) #7
vmpstr
https://codereview.chromium.org/607023003/diff/20001/cc/trees/occlusion.cc File cc/trees/occlusion.cc (right): https://codereview.chromium.org/607023003/diff/20001/cc/trees/occlusion.cc#newcode26 cc/trees/occlusion.cc:26: scaled_transform.Scale(x, y); On 2014/10/05 17:27:38, danakj wrote: > Rather ...
6 years, 2 months ago (2014-10-06 15:44:52 UTC) #8
vmpstr
PTAL
6 years, 2 months ago (2014-10-06 18:39:10 UTC) #9
danakj
Update the patch description please. LGTM
6 years, 2 months ago (2014-10-06 19:09:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607023003/60001
6 years, 2 months ago (2014-10-06 23:19:59 UTC) #12
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-07 01:54:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607023003/60001
6 years, 2 months ago (2014-10-07 06:33:50 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001) as ffac766a6fd32bbbc37c1eb8cd3d7fb29a2a74f0
6 years, 2 months ago (2014-10-07 06:34:40 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 06:35:19 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/61c35e8db648a01dc75b7ab04af454e0fec9dfba
Cr-Commit-Position: refs/heads/master@{#298403}

Powered by Google App Engine
This is Rietveld 408576698