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

Issue 2481023002: Revert of skrpb: evaluate color filters for constant shaders once. (Closed)

Created:
4 years, 1 month ago by dogben
Modified:
4 years, 1 month ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Revert of skrpb: evaluate color filters for constant shaders once. (patchset #1 id:1 of https://codereview.chromium.org/2480823002/ ) Reason for revert: Just testing if this CL really broke the ASAN bot. Original issue's description: > skrpb: evaluate color filters for constant shaders once. > > The simplest thing to do here is just run shader+color filter pipeline at > construction time to create a new constant color shader (replacing the paint > color). > > This reduces a pipeline like: > - constant_color (paint color) > - matrix_4x5 > - clamp_a > - load_d_foo, xfermode, lerp, store_foo > to > - constant_color (paint color -> matrix_4x5 -> clamp_a) > - load_d_foo, xfermode, lerp, store_foo > > To implement this all, we add a new store_f32 stage that writes SkPM4f, and > finally get around to implementing Sk8f::Store4() (store while reinterlacing). > Sk4f::Store4() already exists for both SSE and NEON. > > Next step: reduce simple constant_color -> store pipelines (src mode, full > coverage) into non-pipeline memsets. > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2480823002 > > Committed: https://skia.googlesource.com/skia/+/a4a4488a4c3f16758f7e2b050168fe8d2f3b2a4d TBR=msarett@google.com,reed@google.com,brianosman@google.com,mtklein@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2481023002 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Patch Set 1 #

Patch Set 2 : Rebase revert. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -102 lines) Patch
M src/core/SkRasterPipeline.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkRasterPipelineBlitter.cpp View 1 3 chunks +36 lines, -49 lines 0 comments Download
M src/opts/SkNx_sse.h View 1 2 chunks +0 lines, -31 lines 0 comments Download
M src/opts/SkRasterPipeline_opts.h View 1 2 chunks +3 lines, -21 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
dogben
Created Revert of skrpb: evaluate color filters for constant shaders once.
4 years, 1 month ago (2016-11-06 13:24:16 UTC) #1
mtklein_C
Yeah, it's a big stretch to connect this CL to a memory leak. I'll take ...
4 years, 1 month ago (2016-11-06 13:38:31 UTC) #2
dogben
On 2016/11/06 at 13:38:31, mtklein wrote: > Yeah, it's a big stretch to connect this ...
4 years, 1 month ago (2016-11-06 14:38:04 UTC) #4
mtklein_C
On 2016/11/06 at 14:38:04, benjaminwagner wrote: > On 2016/11/06 at 13:38:31, mtklein wrote: > > ...
4 years, 1 month ago (2016-11-06 14:42:18 UTC) #5
mtklein_C
Notes: LSAN is telling us we're leaking the wideCS color space object allocated at the ...
4 years, 1 month ago (2016-11-06 14:54:48 UTC) #6
dogben
4 years, 1 month ago (2016-11-07 21:25:46 UTC) #7
Seems to be fixed; closing.

Powered by Google App Engine
This is Rietveld 408576698