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

Issue 305623008: skia: Use medium filter quality in PaintSimplifier. (Closed)

Created:
6 years, 6 months ago by reveman
Modified:
6 years, 6 months ago
Reviewers:
enne (OOO), reed2, reed1
CC:
chromium-reviews
Visibility:
Public.

Description

skia: Use medium filter quality in PaintSimplifier. Preventing all bitmap filtering in the paint simplifier is a bad idea as it's very cache unfriendly when down-sampling due to requiring both the full size decoded image and the high/medium quality image normally used to be cached for good performance. However, forcing medium quality filtering is worthwhile as it's faster than high quality and still provides caching benefits. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273648

Patch Set 1 #

Total comments: 2

Patch Set 2 : reduce filter level instead of always forcing it to medium #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M skia/ext/paint_simplifier.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
reveman
This seem to not only provide a bit of a performance improvement but also reduces ...
6 years, 6 months ago (2014-05-28 22:51:57 UTC) #1
reed1
lgtm Since this is (almost by definition) a policy function, perhaps a comment block for ...
6 years, 6 months ago (2014-05-29 12:15:40 UTC) #2
reed1
https://codereview.chromium.org/305623008/diff/1/skia/ext/paint_simplifier.cc File skia/ext/paint_simplifier.cc (right): https://codereview.chromium.org/305623008/diff/1/skia/ext/paint_simplifier.cc#newcode29 skia/ext/paint_simplifier.cc:29: paint->setFilterLevel(SkPaint::kMedium_FilterLevel); Do you want to set this to medium, ...
6 years, 6 months ago (2014-05-29 12:16:59 UTC) #3
reveman
PTAL https://codereview.chromium.org/305623008/diff/1/skia/ext/paint_simplifier.cc File skia/ext/paint_simplifier.cc (right): https://codereview.chromium.org/305623008/diff/1/skia/ext/paint_simplifier.cc#newcode29 skia/ext/paint_simplifier.cc:29: paint->setFilterLevel(SkPaint::kMedium_FilterLevel); On 2014/05/29 12:16:59, reed1 wrote: > Do ...
6 years, 6 months ago (2014-05-29 16:42:27 UTC) #4
reed1
On 2014/05/29 16:42:27, reveman wrote: > <span id="abbrex-spnAbbr_11074" class="abbrex-Abbr abbrex-Abbr_PTAL abbrex-AbbrUnknown abbrex-AbbrUnknownVisible">PTAL</span> > > https://codereview.chromium.org/305623008/diff/1/skia/ext/paint_simplifier.cc ...
6 years, 6 months ago (2014-05-29 16:54:05 UTC) #5
enne (OOO)
lgtm2
6 years, 6 months ago (2014-05-29 17:39:11 UTC) #6
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 6 months ago (2014-05-29 18:00:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/305623008/20001
6 years, 6 months ago (2014-05-29 18:04:16 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-05-29 20:07:43 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-05-29 23:14:40 UTC) #10
Message was sent while issue was closed.
Change committed as 273648

Powered by Google App Engine
This is Rietveld 408576698