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

Issue 216973006: Fix fixed-pos jitter related to physical pixel snapping. (Closed)

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

Description

Fix fixed-pos jitter related to physical pixel snapping. The effective scroll delta is corrected for rounding to nearest screen pixel, but this was done in the wrong coordinate space (scroll delta is in CSS pixels, not physical pixels). NOTRY=true BUG=357889 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261057

Patch Set 1 #

Patch Set 2 : Group code together with contents scale as before #

Total comments: 4

Patch Set 3 : Cover scale on layer itself #

Patch Set 4 : Style nit #

Patch Set 5 : More comment #

Patch Set 6 : Set fallback value to 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -2 lines) Patch
M cc/trees/layer_tree_host_common.cc View 1 2 3 4 5 1 chunk +11 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
aelias_OOO_until_Jul13
PTAL. This is the mystery jitter I wrongly blamed on wjmaclean's changes a month back. ...
6 years, 9 months ago (2014-03-29 05:48:37 UTC) #1
enne (OOO)
Could you also add a unit test similar to the one you already added where ...
6 years, 8 months ago (2014-03-31 22:45:22 UTC) #2
aelias_OOO_until_Jul13
Added another unit test for the scale-on-layer-itself case. I needed to change the implementation to ...
6 years, 8 months ago (2014-04-01 06:24:20 UTC) #3
enne (OOO)
lgtm. Thanks for the new test; I was worried about that edge case.
6 years, 8 months ago (2014-04-01 17:13:23 UTC) #4
aelias_OOO_until_Jul13
The CQ bit was checked by aelias@chromium.org
6 years, 8 months ago (2014-04-01 22:04:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/216973006/80001
6 years, 8 months ago (2014-04-01 22:55:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/216973006/80001
6 years, 8 months ago (2014-04-02 02:08:18 UTC) #7
commit-bot: I haz the power
6 years, 8 months ago (2014-04-02 03:59:30 UTC) #8
Message was sent while issue was closed.
Change committed as 261057

Powered by Google App Engine
This is Rietveld 408576698