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

Issue 1686203002: Skia Filter Quality and Scaling Metrics (Closed)

Created:
4 years, 10 months ago by ericrk
Modified:
4 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Skia Filter Quality and Scaling Metrics Adds histogram metrics to log the filter quality and scale factor of each image draw. To make the data easier to consume, this is broken down into a number of individual histograms: - Filter quality across all draw calls - Scale amount across all draw calls - Scale amount per filter quality (4 histograms total) BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1686203002 Committed: https://skia.googlesource.com/skia/+/f57b3a6e4a002caf01378832cbd756c6c163a783 Committed: https://skia.googlesource.com/skia/+/983294f78f11159a7def7fd2ea0c12f911d17688

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : static + minor fixes #

Total comments: 8

Patch Set 4 : rebase #

Patch Set 5 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -2 lines) Patch
M include/core/SkDevice.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M include/core/SkFilterQuality.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M include/core/SkPostConfig.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M src/core/SkDevice.cpp View 1 2 3 4 1 chunk +55 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/gpu/SkGpuDevice_drawTexture.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
ericrk
Adding some metrics to log scale factor and filter quality across draws.
4 years, 10 months ago (2016-02-10 19:35:12 UTC) #3
bsalomon
https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h#newcode380 include/core/SkDevice.h:380: void logDrawScaleFactor(const SkMatrix&, SkFilterQuality) const; Maybe this should just ...
4 years, 10 months ago (2016-02-16 14:52:42 UTC) #4
ericrk
https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h#newcode380 include/core/SkDevice.h:380: void logDrawScaleFactor(const SkMatrix&, SkFilterQuality) const; On 2016/02/16 at 14:52:42, ...
4 years, 10 months ago (2016-02-16 22:05:34 UTC) #5
ericrk
On 2016/02/16 22:05:34, ericrk wrote: > https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h > File include/core/SkDevice.h (right): > > https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h#newcode380 > ...
4 years, 10 months ago (2016-02-24 00:40:20 UTC) #6
bsalomon
https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h#newcode380 include/core/SkDevice.h:380: void logDrawScaleFactor(const SkMatrix&, SkFilterQuality) const; On 2016/02/16 22:05:33, ericrk ...
4 years, 10 months ago (2016-02-24 18:25:00 UTC) #7
ericrk
Good point. Updated. https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h File include/core/SkDevice.h (right): https://codereview.chromium.org/1686203002/diff/20001/include/core/SkDevice.h#newcode380 include/core/SkDevice.h:380: void logDrawScaleFactor(const SkMatrix&, SkFilterQuality) const; On ...
4 years, 10 months ago (2016-02-25 00:22:11 UTC) #9
bsalomon
lgtm
4 years, 10 months ago (2016-02-25 01:51:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1686203002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1686203002/60001
4 years, 10 months ago (2016-02-25 18:59:11 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://skia.googlesource.com/skia/+/f57b3a6e4a002caf01378832cbd756c6c163a783
4 years, 10 months ago (2016-02-25 19:22:00 UTC) #14
Ilya Sherman
https://codereview.chromium.org/1686203002/diff/60001/src/core/SkDevice.cpp File src/core/SkDevice.cpp (right): https://codereview.chromium.org/1686203002/diff/60001/src/core/SkDevice.cpp#newcode456 src/core/SkDevice.cpp:456: SkASSERT(filterQuality != kNone_SkFilterQuality); Why do you handle this case ...
4 years, 10 months ago (2016-02-25 22:08:52 UTC) #16
ericrk
A revert of this CL (patchset #3 id:60001) has been created in https://codereview.chromium.org/1735423002/ by ericrk@chromium.org. ...
4 years, 10 months ago (2016-02-25 22:53:11 UTC) #17
ericrk
Updated to address comments. https://codereview.chromium.org/1686203002/diff/60001/src/core/SkDevice.cpp File src/core/SkDevice.cpp (right): https://codereview.chromium.org/1686203002/diff/60001/src/core/SkDevice.cpp#newcode456 src/core/SkDevice.cpp:456: SkASSERT(filterQuality != kNone_SkFilterQuality); On 2016/02/25 ...
4 years, 8 months ago (2016-04-08 21:21:35 UTC) #20
Ilya Sherman
LGTM, thanks.
4 years, 8 months ago (2016-04-09 06:18:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1686203002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1686203002/120001
4 years, 8 months ago (2016-04-18 16:04:25 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:120001) as https://skia.googlesource.com/skia/+/983294f78f11159a7def7fd2ea0c12f911d17688
4 years, 8 months ago (2016-04-18 16:14:04 UTC) #26
Alexei Svitkine (slow)
Should this be reverted given it's causing issues in UMA pipelines? Have we looked at ...
4 years, 4 months ago (2016-07-26 19:27:54 UTC) #28
ericrk
4 years, 4 months ago (2016-07-27 23:48:22 UTC) #29
Message was sent while issue was closed.
On 2016/07/26 19:27:54, Alexei Svitkine (slow) wrote:
> Should this be reverted given it's causing issues in UMA pipelines?
> 
> Have we looked at what's the issue yet? (I think Eric was cc'd to the internal
> thread on this.)

I've sent out a CL to disable these (crrev.com/2185263002)- would rather not
revert at this point. I'll debug further.

Powered by Google App Engine
This is Rietveld 408576698