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

Issue 11678003: cc: Fix low-res impl-side painting artifacts (Closed)

Created:
7 years, 12 months ago by enne (OOO)
Modified:
7 years, 11 months ago
Reviewers:
danakj, nduca
CC:
chromium-reviews, cc-bugs_chromium.org, reed2
Visibility:
Public.

Description

cc: Fix low-res impl-side painting artifacts Instead of clipping cc::Picture on recorded pixel boundaries (which may be a partial pixel in the final rastered content if content scale < 1), clip only on integral pixels in the final rastered output. This requires recording a small buffer of pixels around every picture, specified via a min contents scale. NOTRY=true R=nduca@chromium.org BUG=167590 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175542

Patch Set 1 #

Patch Set 2 : More RectToSkRect, 1/16 default min #

Total comments: 15

Patch Set 3 : Address review comments #

Patch Set 4 : Revert clip change #

Patch Set 5 : Rebase on latest patch #

Total comments: 3

Patch Set 6 : \okayguy{0.0625*f*} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -26 lines) Patch
M cc/layer_tree_settings.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layer_tree_settings.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/picture.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M cc/picture.cc View 1 2 chunks +8 lines, -1 line 0 comments Download
M cc/picture_layer.h View 1 2 2 chunks +11 lines, -8 lines 0 comments Download
M cc/picture_layer.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M cc/picture_layer_impl.cc View 1 2 3 4 3 chunks +7 lines, -1 line 0 comments Download
M cc/picture_pile.h View 2 chunks +4 lines, -0 lines 0 comments Download
M cc/picture_pile.cc View 1 2 4 chunks +37 lines, -1 line 0 comments Download
M cc/picture_pile_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/picture_pile_impl.cc View 1 2 3 3 chunks +20 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
enne (OOO)
7 years, 12 months ago (2012-12-26 23:09:30 UTC) #1
danakj
Where is the contents_scale being capped by the min_contents_scale? I didn't see that... I musta ...
7 years, 11 months ago (2013-01-05 00:04:58 UTC) #2
enne (OOO)
You're right that there's no enforcement of minimum. I added https://codereview.chromium.org/11777008/ which allows a LayerImpl ...
7 years, 11 months ago (2013-01-06 03:57:18 UTC) #3
enne (OOO)
https://codereview.chromium.org/11678003/diff/1011/cc/picture_pile_impl.cc File cc/picture_pile_impl.cc (right): https://codereview.chromium.org/11678003/diff/1011/cc/picture_pile_impl.cc#newcode65 cc/picture_pile_impl.cc:65: canvas->clipRect(gfx::RectToSkRect(content_rect)); On 2013/01/06 03:57:18, enne wrote: > On 2013/01/05 ...
7 years, 11 months ago (2013-01-06 04:30:31 UTC) #4
danakj
https://codereview.chromium.org/11678003/diff/9013/cc/layer_tree_settings.cc File cc/layer_tree_settings.cc (right): https://codereview.chromium.org/11678003/diff/9013/cc/layer_tree_settings.cc#newcode30 cc/layer_tree_settings.cc:30: , minimumContentsScale(0.0625) 0.0625f https://codereview.chromium.org/11678003/diff/9013/cc/picture_layer_impl.cc File cc/picture_layer_impl.cc (right): https://codereview.chromium.org/11678003/diff/9013/cc/picture_layer_impl.cc#newcode183 cc/picture_layer_impl.cc:183: ...
7 years, 11 months ago (2013-01-07 20:24:02 UTC) #5
danakj
LGTM
7 years, 11 months ago (2013-01-07 20:25:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11678003/9013
7 years, 11 months ago (2013-01-08 00:22:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11678003/8004
7 years, 11 months ago (2013-01-08 00:35:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11678003/8004
7 years, 11 months ago (2013-01-08 16:41:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11678003/8004
7 years, 11 months ago (2013-01-08 17:11:29 UTC) #10
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 17:12:45 UTC) #11
Message was sent while issue was closed.
Change committed as 175542

Powered by Google App Engine
This is Rietveld 408576698