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

Issue 733583003: Don't turn off anti-aliasing for image backgrounds unless the device scale factor is large enough. (Closed)

Created:
6 years, 1 month ago by chrishtr
Modified:
6 years, 1 month ago
Reviewers:
enne (OOO)
CC:
blink-reviews, blink-reviews-paint_chromium.org, slimming-paint-reviews_chromium.org
Project:
blink
Visibility:
Public.

Description

Don't turn off anti-aliasing for image backgrounds unless the device scale factor is large enough. Otherwise, rasterized output of cases such as sprited backgrounds of <img> tags will have poor quality. BUG=423834, 433282 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185461

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/paint/ImagePainter.cpp View 1 1 chunk +4 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderImage.cpp View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
chrishtr
6 years, 1 month ago (2014-11-14 19:11:22 UTC) #2
jbroman
https://codereview.chromium.org/733583003/diff/1/Source/core/paint/ImagePainter.cpp File Source/core/paint/ImagePainter.cpp (right): https://codereview.chromium.org/733583003/diff/1/Source/core/paint/ImagePainter.cpp#newcode203 Source/core/paint/ImagePainter.cpp:203: float deviceScaleFactor(LocalFrame*); drive-by: Why not include Page.h? Declaring extern ...
6 years, 1 month ago (2014-11-14 19:13:47 UTC) #3
enne (OOO)
http://i.imgur.com/7Uj3bBL.gif https://codereview.chromium.org/733583003/diff/1/Source/core/paint/ImagePainter.cpp File Source/core/paint/ImagePainter.cpp (right): https://codereview.chromium.org/733583003/diff/1/Source/core/paint/ImagePainter.cpp#newcode203 Source/core/paint/ImagePainter.cpp:203: float deviceScaleFactor(LocalFrame*); What is this, an extern? Maybe ...
6 years, 1 month ago (2014-11-14 19:15:59 UTC) #4
chrishtr
https://codereview.chromium.org/733583003/diff/1/Source/core/paint/ImagePainter.cpp File Source/core/paint/ImagePainter.cpp (right): https://codereview.chromium.org/733583003/diff/1/Source/core/paint/ImagePainter.cpp#newcode203 Source/core/paint/ImagePainter.cpp:203: float deviceScaleFactor(LocalFrame*); On 2014/11/14 19:13:47, jbroman wrote: > drive-by: ...
6 years, 1 month ago (2014-11-14 19:16:09 UTC) #5
enne (OOO)
https://codereview.chromium.org/733583003/diff/20001/Source/core/rendering/RenderImage.cpp File Source/core/rendering/RenderImage.cpp (right): https://codereview.chromium.org/733583003/diff/20001/Source/core/rendering/RenderImage.cpp#newcode41 Source/core/rendering/RenderImage.cpp:41: #include "core/page/Page.h" Can you include this in ImagePainter?
6 years, 1 month ago (2014-11-14 19:17:53 UTC) #6
chrishtr
On 2014/11/14 at 19:17:53, enne wrote: > https://codereview.chromium.org/733583003/diff/20001/Source/core/rendering/RenderImage.cpp > File Source/core/rendering/RenderImage.cpp (right): > > https://codereview.chromium.org/733583003/diff/20001/Source/core/rendering/RenderImage.cpp#newcode41 ...
6 years, 1 month ago (2014-11-14 20:13:25 UTC) #7
chrishtr
6 years, 1 month ago (2014-11-14 20:13:33 UTC) #8
chrishtr
6 years, 1 month ago (2014-11-14 20:13:33 UTC) #9
enne (OOO)
lgtm http://i.imgur.com/yG6toxR.gif
6 years, 1 month ago (2014-11-14 20:59:12 UTC) #10
enne (OOO)
PS please wrap your change description at 72 characters. This is git, not Blink. ;)
6 years, 1 month ago (2014-11-14 20:59:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/733583003/20001
6 years, 1 month ago (2014-11-14 21:06:09 UTC) #13
enne (OOO)
Can you upload the patch that did what you said you did?
6 years, 1 month ago (2014-11-14 21:25:43 UTC) #15
chrishtr
On 2014/11/14 at 21:25:43, enne wrote: > Can you upload the patch that did what ...
6 years, 1 month ago (2014-11-14 21:33:37 UTC) #16
enne (OOO)
LGTM
6 years, 1 month ago (2014-11-14 22:33:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/733583003/40001
6 years, 1 month ago (2014-11-14 22:45:14 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/33745)
6 years, 1 month ago (2014-11-14 23:50:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/733583003/60001
6 years, 1 month ago (2014-11-15 00:31:47 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/36646)
6 years, 1 month ago (2014-11-15 01:56:26 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/733583003/80001
6 years, 1 month ago (2014-11-15 05:24:28 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/31025)
6 years, 1 month ago (2014-11-15 06:45:02 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/733583003/100001
6 years, 1 month ago (2014-11-17 17:39:36 UTC) #31
commit-bot: I haz the power
6 years, 1 month ago (2014-11-17 18:52:58 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as 185461

Powered by Google App Engine
This is Rietveld 408576698