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

Issue 2147533002: SkRasterPipeline preliminaries (Closed)

Created:
4 years, 5 months ago by mtklein_C
Modified:
4 years, 5 months ago
Reviewers:
herb_g, mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkRasterPipeline preliminaries Windows trybots appear to be failing because the CL number is > 2^31. :/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2147533002 CQ_INCLUDE_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Patch Set 1 #

Patch Set 2 : Something basic and useful. #

Patch Set 3 : Add a unit test. #

Patch Set 4 : Benchmark skeleton. #

Patch Set 5 : Try non-const v. #

Patch Set 6 : Focus on the pipeline. #

Patch Set 7 : More on bench, friendlier APIs. #

Patch Set 8 : finish bench #

Patch Set 9 : add & 0xff... >> is arithmetic for Sk4i #

Total comments: 4

Patch Set 10 : Ready-to-run asserts. #

Patch Set 11 : Rewire -> lambda' #

Patch Set 12 : own nits #

Patch Set 13 : Tighter run(), break name symmetry favoring body functions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+449 lines, -0 lines) Patch
A bench/SkRasterPipelineBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +195 lines, -0 lines 0 comments Download
M gyp/core.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A src/core/SkRasterPipeline.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +104 lines, -0 lines 0 comments Download
A src/core/SkRasterPipeline.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +65 lines, -0 lines 0 comments Download
M src/opts/SkNx_neon.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/opts/SkNx_sse.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A tests/SkRasterPipelineTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +82 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (32 generated)
mtklein_C
This ports over the core of things into the Skia codebase, with a test and ...
4 years, 5 months ago (2016-07-12 16:52:16 UTC) #17
reed1
I quiver with antici...
4 years, 5 months ago (2016-07-12 17:36:34 UTC) #24
herb_g
lgtm https://codereview.chromium.org/2147533002/diff/160001/src/core/SkRasterPipeline.cpp File src/core/SkRasterPipeline.cpp (right): https://codereview.chromium.org/2147533002/diff/160001/src/core/SkRasterPipeline.cpp#newcode16 src/core/SkRasterPipeline.cpp:16: fBody.push_back({ body, const_cast<void*>(body_ctx) }); SkASSERT(!fReadyToRun) https://codereview.chromium.org/2147533002/diff/160001/src/core/SkRasterPipeline.cpp#newcode21 src/core/SkRasterPipeline.cpp:21: SkASSERT(!stages->empty()); ...
4 years, 5 months ago (2016-07-12 18:14:25 UTC) #25
mtklein_C
4 years, 5 months ago (2016-07-12 18:24:16 UTC) #27
https://codereview.chromium.org/2147533002/diff/160001/src/core/SkRasterPipel...
File src/core/SkRasterPipeline.cpp (right):

https://codereview.chromium.org/2147533002/diff/160001/src/core/SkRasterPipel...
src/core/SkRasterPipeline.cpp:16: fBody.push_back({ body,
const_cast<void*>(body_ctx) });
On 2016/07/12 at 18:14:25, herb_g wrote:
> SkASSERT(!fReadyToRun)

Done.

https://codereview.chromium.org/2147533002/diff/160001/src/core/SkRasterPipel...
src/core/SkRasterPipeline.cpp:21: SkASSERT(!stages->empty());
On 2016/07/12 at 18:14:25, herb_g wrote:
> RedayToRun assert here too

Done, by inlining Rewire() into run() as a lambda.

Powered by Google App Engine
This is Rietveld 408576698