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

Issue 20317002: add all four filter levels to the downsample gm, for comparison across cpu/gpu (Closed)

Created:
7 years, 5 months ago by humper
Modified:
7 years, 5 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

add all four filter levels to the downsample gm, for comparison across cpu/gpu BUG= R=bsalomon@google.com Committed: https://code.google.com/p/skia/source/detail?r=10352

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -14 lines) Patch
M gm/downsamplebitmap.cpp View 8 chunks +44 lines, -14 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
humper
7 years, 5 months ago (2013-07-25 14:26:21 UTC) #1
bsalomon
lgtm with a trivial nit. Elliot, what happens when we rename an existing GM (which ...
7 years, 5 months ago (2013-07-25 14:31:11 UTC) #2
humper
Committed patchset #1 manually as r10352 (presubmit successful).
7 years, 5 months ago (2013-07-25 14:34:18 UTC) #3
epoger
On 2013/07/25 14:31:11, bsalomon wrote: > lgtm with a trivial nit. > > Elliot, what ...
7 years, 5 months ago (2013-07-25 15:01:00 UTC) #4
reed1
https://codereview.chromium.org/20317002/diff/1/gm/downsamplebitmap.cpp File gm/downsamplebitmap.cpp (right): https://codereview.chromium.org/20317002/diff/1/gm/downsamplebitmap.cpp#newcode40 gm/downsamplebitmap.cpp:40: switch(fFilterLevel) { could use a table here. there is ...
7 years, 5 months ago (2013-07-25 17:35:48 UTC) #5
humper
7 years, 5 months ago (2013-07-25 17:37:06 UTC) #6
Message was sent while issue was closed.
On 2013/07/25 17:35:48, reed1 wrote:
> https://codereview.chromium.org/20317002/diff/1/gm/downsamplebitmap.cpp
> File gm/downsamplebitmap.cpp (right):
> 
>
https://codereview.chromium.org/20317002/diff/1/gm/downsamplebitmap.cpp#newco...
> gm/downsamplebitmap.cpp:40: switch(fFilterLevel) {
> could use a table here. there is a common way skia maps enums to strings.
> 
>
https://codereview.chromium.org/20317002/diff/1/gm/downsamplebitmap.cpp#newco...
> gm/downsamplebitmap.cpp:107: char name[1024];
> SkString has printf, just for this sort of usage.

Thanks, will clean up.  I think I missed printf a long time ago in SkString, and
have been copying one of my original GM's as a template ever since :)

Powered by Google App Engine
This is Rietveld 408576698