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

Issue 1216623003: Bilinear optimization for 1D convolution.

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

Description

Bilinear optimization for 1D convolution. Splits GrGLConvolutionEffect into GrGLBilerpConvolutionEffect and GrGLBoundedConvolutionEffect. When doing a non-bounded convolution we now always use the GrGLBilerpConvolutionEffect which uses bilinear filtering to perform half as many samples in the texture. BUG=skia:3986 Committed: https://skia.googlesource.com/skia/+/91abe10af417148939548551e210c001022d3bda Committed: https://skia.googlesource.com/skia/+/0f38612b0facf585854aba4556433b858cbf7da8 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1216623003

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Remove \t from shaders and simplify SkASSERT #

Patch Set 3 : small fixes #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : rebase #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -82 lines) Patch
M src/gpu/effects/Gr1DKernelEffect.h View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M src/gpu/effects/GrConvolutionEffect.cpp View 1 2 3 4 5 6 chunks +238 lines, -82 lines 0 comments Download

Messages

Total messages: 43 (23 generated)
ericrk
Hi Brian, This is my first pass at adding support for a bilinear-filtering optimization to ...
5 years, 5 months ago (2015-06-26 20:06:18 UTC) #7
bsalomon
Hey Eric, this looks nicely done! 4% sounds like it is likely within the noise ...
5 years, 5 months ago (2015-06-26 21:07:34 UTC) #9
ericrk
Thanks for the feedback! Will wait for senorblanco to review. https://codereview.chromium.org/1216623003/diff/60001/src/gpu/effects/GrConvolutionEffect.cpp File src/gpu/effects/GrConvolutionEffect.cpp (right): https://codereview.chromium.org/1216623003/diff/60001/src/gpu/effects/GrConvolutionEffect.cpp#newcode221 ...
5 years, 5 months ago (2015-06-26 21:28:23 UTC) #10
Stephen White
You may need to suppress some layout test failures in Blink before landing this, in ...
5 years, 5 months ago (2015-06-26 21:28:31 UTC) #11
ericrk
Thanks for the feedback. I've created a CL for test suppressions for the blink layout ...
5 years, 5 months ago (2015-06-29 17:33:21 UTC) #12
Stephen White
LGTM https://codereview.chromium.org/1216623003/diff/60001/src/gpu/effects/GrConvolutionEffect.cpp File src/gpu/effects/GrConvolutionEffect.cpp (right): https://codereview.chromium.org/1216623003/diff/60001/src/gpu/effects/GrConvolutionEffect.cpp#newcode211 src/gpu/effects/GrConvolutionEffect.cpp:211: fSampleOffsetUni = On 2015/06/29 17:33:21, ericrk wrote: > ...
5 years, 5 months ago (2015-06-29 19:04:06 UTC) #13
bsalomon
lgtm
5 years, 5 months ago (2015-06-30 13:40:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216623003/100001
5 years, 5 months ago (2015-07-09 16:46:07 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/1867) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, ...
5 years, 5 months ago (2015-07-09 16:46:50 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216623003/180001
5 years, 5 months ago (2015-07-09 18:11:30 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/1978) Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, ...
5 years, 5 months ago (2015-07-09 18:12:40 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216623003/200001
5 years, 5 months ago (2015-07-10 21:57:37 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:200001) as https://skia.googlesource.com/skia/+/91abe10af417148939548551e210c001022d3bda
5 years, 5 months ago (2015-07-10 22:05:16 UTC) #30
scroggo
A revert of this CL (patchset #5 id:200001) has been created in https://codereview.chromium.org/1231383005/ by scroggo@google.com. ...
5 years, 5 months ago (2015-07-13 14:06:25 UTC) #31
scroggo
On 2015/07/13 14:06:25, scroggo wrote: > A revert of this CL (patchset #5 id:200001) has ...
5 years, 5 months ago (2015-07-13 14:25:30 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216623003/200001
5 years, 5 months ago (2015-07-21 19:55:11 UTC) #34
ericrk
Per discussion over chat - I believe the differences are all expected - re-submitting and ...
5 years, 5 months ago (2015-07-21 19:57:00 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:200001) as https://skia.googlesource.com/skia/+/0f38612b0facf585854aba4556433b858cbf7da8
5 years, 5 months ago (2015-07-21 20:15:49 UTC) #36
ericrk
A revert of this CL (patchset #5 id:200001) has been created in https://codereview.chromium.org/1247063005/ by ericrk@chromium.org. ...
5 years, 5 months ago (2015-07-21 20:48:54 UTC) #37
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 19:59:28 UTC) #42

Powered by Google App Engine
This is Rietveld 408576698