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

Issue 23779003: first cut at HQ GPU scaling; refactored existing bicubic scaler (Closed)

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

Description

add support for high quality image filtering on the GPU R=bsalomon@google.com, reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=11087

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rearrange code a bit in response to comments; make saner localization of use of the coefficients gl… #

Patch Set 3 : Duplicate the mitchell coefficients to avoid dependence on effects #

Total comments: 1

Patch Set 4 : final version for trybots #

Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -225 lines) Patch
A + gm/tilemodes_scaled.cpp View 9 chunks +37 lines, -26 lines 0 comments Download
M gyp/effects.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/gpu.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkError.h View 1 chunk +6 lines, -1 line 0 comments Download
M src/core/SkBitmapProcShader.cpp View 1 3 chunks +15 lines, -8 lines 0 comments Download
M src/effects/SkBicubicImageFilter.cpp View 1 2 3 2 chunks +11 lines, -190 lines 0 comments Download
A src/gpu/effects/GrBicubicEffect.h View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
A src/gpu/effects/GrBicubicEffect.cpp View 1 2 3 1 chunk +175 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
humper
7 years, 3 months ago (2013-09-03 20:39:36 UTC) #1
bsalomon
https://codereview.chromium.org/23779003/diff/1/include/effects/SkBicubicImageFilter.h File include/effects/SkBicubicImageFilter.h (right): https://codereview.chromium.org/23779003/diff/1/include/effects/SkBicubicImageFilter.h#newcode37 include/effects/SkBicubicImageFilter.h:37: static const SkScalar fMitchellCoefficients[16]; style-nit: statics aren't fSomething. Maybe ...
7 years, 3 months ago (2013-09-03 20:55:17 UTC) #2
reed1
https://codereview.chromium.org/23779003/diff/1/src/core/SkBitmapProcShader.cpp File src/core/SkBitmapProcShader.cpp (right): https://codereview.chromium.org/23779003/diff/1/src/core/SkBitmapProcShader.cpp#newcode14 src/core/SkBitmapProcShader.cpp:14: #include "../effects/SkBicubicImageFilter.h" do we need the path to scope ...
7 years, 3 months ago (2013-09-03 20:57:37 UTC) #3
humper
https://codereview.chromium.org/23779003/diff/1/src/core/SkBitmapProcShader.cpp File src/core/SkBitmapProcShader.cpp (right): https://codereview.chromium.org/23779003/diff/1/src/core/SkBitmapProcShader.cpp#newcode14 src/core/SkBitmapProcShader.cpp:14: #include "../effects/SkBicubicImageFilter.h" On 2013/09/03 20:57:37, reed1 wrote: > do ...
7 years, 3 months ago (2013-09-03 21:45:53 UTC) #4
bsalomon
https://codereview.chromium.org/23779003/diff/1/src/core/SkBitmapProcShader.cpp File src/core/SkBitmapProcShader.cpp (right): https://codereview.chromium.org/23779003/diff/1/src/core/SkBitmapProcShader.cpp#newcode14 src/core/SkBitmapProcShader.cpp:14: #include "../effects/SkBicubicImageFilter.h" On 2013/09/03 21:45:53, humper wrote: > On ...
7 years, 3 months ago (2013-09-04 13:06:14 UTC) #5
humper
On 2013/09/04 13:06:14, bsalomon wrote: > https://codereview.chromium.org/23779003/diff/1/src/core/SkBitmapProcShader.cpp > File src/core/SkBitmapProcShader.cpp (right): > > https://codereview.chromium.org/23779003/diff/1/src/core/SkBitmapProcShader.cpp#newcode14 > ...
7 years, 3 months ago (2013-09-04 13:09:08 UTC) #6
bsalomon
https://codereview.chromium.org/23779003/diff/15001/include/effects/SkBicubicImageFilter.h File include/effects/SkBicubicImageFilter.h (right): https://codereview.chromium.org/23779003/diff/15001/include/effects/SkBicubicImageFilter.h#newcode37 include/effects/SkBicubicImageFilter.h:37: static const SkScalar gMitchellCoefficients[16]; If these are just used ...
7 years, 3 months ago (2013-09-04 17:21:48 UTC) #7
reed1
lgtm for the trivial parts
7 years, 3 months ago (2013-09-04 17:36:54 UTC) #8
humper
7 years, 3 months ago (2013-09-04 19:24:04 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r11087 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698