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

Issue 262263003: Always use AwesomeResampling for lazy decoded images. (Closed)

Created:
6 years, 7 months ago by reveman
Modified:
6 years, 7 months ago
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Always use AwesomeResampling for lazy decoded images. We don't know the real destination scale of lazy decoded images and should not be making filter choices based on the transformation matrix here. Instead use AwesomeResampling for all lazy decoded images and leaves it up to skia to decided if a more efficient filter can be used at rasterization time. BUG=368078 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173660

Patch Set 1 #

Total comments: 14

Patch Set 2 : address review feedback #

Total comments: 2

Patch Set 3 : revert changes in last patch set #

Patch Set 4 : Add required rebaselines to TestExpectations #

Patch Set 5 : move TestExpectations change to avoid conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M Source/platform/graphics/skia/NativeImageSkia.cpp View 2 4 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
reveman
6 years, 7 months ago (2014-05-05 22:26:12 UTC) #1
Alpha Left Google
On 2014/05/05 22:26:12, reveman wrote: I don't think this is right. This change will force ...
6 years, 7 months ago (2014-05-06 18:24:20 UTC) #2
Alpha Left Google
Sorry reading the code again it is right but quite confusing. Comments follow. https://codereview.chromium.org/262263003/diff/1/Source/platform/graphics/skia/NativeImageSkia.cpp File ...
6 years, 7 months ago (2014-05-06 19:05:27 UTC) #3
Alpha Left Google
https://codereview.chromium.org/262263003/diff/1/Source/platform/graphics/skia/NativeImageSkia.cpp File Source/platform/graphics/skia/NativeImageSkia.cpp (right): https://codereview.chromium.org/262263003/diff/1/Source/platform/graphics/skia/NativeImageSkia.cpp#newcode410 Source/platform/graphics/skia/NativeImageSkia.cpp:410: bool useBicubicFilter = resampling == AwesomeResampling && isLazyDecoded; On ...
6 years, 7 months ago (2014-05-06 23:07:50 UTC) #4
reveman
PTAL https://codereview.chromium.org/262263003/diff/1/Source/platform/graphics/skia/NativeImageSkia.cpp File Source/platform/graphics/skia/NativeImageSkia.cpp (right): https://codereview.chromium.org/262263003/diff/1/Source/platform/graphics/skia/NativeImageSkia.cpp#newcode380 Source/platform/graphics/skia/NativeImageSkia.cpp:380: ResamplingMode resampling; On 2014/05/06 19:05:28, Alpha wrote: > ...
6 years, 7 months ago (2014-05-07 14:32:05 UTC) #5
Alpha Left Google
lgtm
6 years, 7 months ago (2014-05-07 17:38:11 UTC) #6
reveman
+senorblanco for platform/ owner
6 years, 7 months ago (2014-05-07 17:46:10 UTC) #7
Stephen White
Can you please check that this doesn't defeat the timer-based resize (e.g., http://ie.microsoft.com/TestDrive/Performance/FlyingImages/Default.html : performance ...
6 years, 7 months ago (2014-05-07 18:16:31 UTC) #8
reveman
Tried the flying images demo but didn't notice a difference between with or without this ...
6 years, 7 months ago (2014-05-07 19:00:45 UTC) #9
Stephen White
On 2014/05/07 19:00:45, reveman wrote: > Tried the flying images demo but didn't notice a ...
6 years, 7 months ago (2014-05-07 19:32:34 UTC) #10
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-05-07 20:29:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/262263003/40001
6 years, 7 months ago (2014-05-07 20:30:00 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 22:08:29 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 23:25:14 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 00:03:05 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink win_blink_rel on tryserver.blink
6 years, 7 months ago (2014-05-08 00:03:06 UTC) #16
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-05-08 13:57:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/262263003/40001
6 years, 7 months ago (2014-05-08 13:58:10 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 15:12:37 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 15:50:00 UTC) #20
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/6700)
6 years, 7 months ago (2014-05-08 15:50:00 UTC) #21
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-05-08 16:52:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/262263003/60001
6 years, 7 months ago (2014-05-08 16:53:34 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 16:53:47 UTC) #24
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-08 16:53:47 UTC) #25
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-05-08 17:06:14 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/262263003/80001
6 years, 7 months ago (2014-05-08 17:07:52 UTC) #27
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 18:24:28 UTC) #28
Message was sent while issue was closed.
Change committed as 173660

Powered by Google App Engine
This is Rietveld 408576698