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

Issue 1704583003: Simplified linear pipeline. (Closed)

Created:
4 years, 10 months ago by herb_g
Modified:
4 years, 10 months ago
CC:
reviews_skia.org, Tom Hudson
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 28

Patch Set 2 : Address comments, and change to const ref for args. #

Patch Set 3 : Use union for space. #

Patch Set 4 : Remove alignment check. #

Patch Set 5 : Fix test compiler errors. #

Patch Set 6 : Fix union problems. #

Patch Set 7 : Fix alignment in a different way. #

Patch Set 8 : Fix unused result. #

Patch Set 9 : More ignore results. #

Patch Set 10 : Handle native rgb properly. #

Patch Set 11 : An additional stack allocation. #

Patch Set 12 : Fix more errors. #

Patch Set 13 : Fix lose of precision. #

Patch Set 14 : More 0 len array. #

Patch Set 15 : Fix unaligned size problem. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1084 lines, -0 lines) Patch
A bench/SkLinearBitmapPipelineBench.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +288 lines, -0 lines 3 comments Download
A gm/SkLinearBitmapPipelineGM.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +192 lines, -0 lines 0 comments Download
M gyp/core.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A src/core/SkLinearBitmapPipeline.h View 1 2 3 4 5 6 1 chunk +89 lines, -0 lines 0 comments Download
A src/core/SkLinearBitmapPipeline.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +449 lines, -0 lines 0 comments Download
M src/core/SkNx.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A tests/SkLinearBitmapPipelineTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 83 (33 generated)
herb_g
At Mike's request, I have produced a CL that has the basic point pipeline. It's ...
4 years, 10 months ago (2016-02-16 20:18:04 UTC) #4
mtklein
lgtm https://codereview.chromium.org/1704583003/diff/1/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1704583003/diff/1/src/core/SkLinearBitmapPipeline.cpp#newcode32 src/core/SkLinearBitmapPipeline.cpp:32: void SpanFallback(SkPoint start, SkScalar length, int count, Next* ...
4 years, 10 months ago (2016-02-16 21:13:11 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/1
4 years, 10 months ago (2016-02-16 21:38:05 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/6218)
4 years, 10 months ago (2016-02-16 21:39:18 UTC) #9
herb_g
https://codereview.chromium.org/1704583003/diff/1/src/core/SkLinearBitmapPipeline.cpp File src/core/SkLinearBitmapPipeline.cpp (right): https://codereview.chromium.org/1704583003/diff/1/src/core/SkLinearBitmapPipeline.cpp#newcode32 src/core/SkLinearBitmapPipeline.cpp:32: void SpanFallback(SkPoint start, SkScalar length, int count, Next* next) ...
4 years, 10 months ago (2016-02-16 22:04:25 UTC) #10
herb_g
Address comments, and change to const ref for args.
4 years, 10 months ago (2016-02-16 22:29:59 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/20001
4 years, 10 months ago (2016-02-16 22:30:23 UTC) #13
commit-bot: I haz the power
Dry run: 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/6184) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
4 years, 10 months ago (2016-02-16 22:33:05 UTC) #15
herb_g
Use union for space.
4 years, 10 months ago (2016-02-16 22:36:10 UTC) #16
herb_g
Remove alignment check.
4 years, 10 months ago (2016-02-16 22:40:22 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/60001
4 years, 10 months ago (2016-02-16 22:40:59 UTC) #19
commit-bot: I haz the power
Dry run: 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/6185) Build-Ubuntu-GCC-x86_64-Release-Trybot on ...
4 years, 10 months ago (2016-02-16 22:42:06 UTC) #21
herb_g
Fix test compiler errors.
4 years, 10 months ago (2016-02-16 22:53:54 UTC) #22
herb_g
Fix union problems.
4 years, 10 months ago (2016-02-16 22:58:05 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/100001
4 years, 10 months ago (2016-02-16 22:59:04 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/6232)
4 years, 10 months ago (2016-02-16 23:00:16 UTC) #27
herb_g
Fix alignment in a different way.
4 years, 10 months ago (2016-02-16 23:26:27 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/120001
4 years, 10 months ago (2016-02-16 23:27:03 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot/builds/4524)
4 years, 10 months ago (2016-02-16 23:28:26 UTC) #32
herb_g
Fix unused result.
4 years, 10 months ago (2016-02-16 23:30:32 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/140001
4 years, 10 months ago (2016-02-16 23:36:16 UTC) #35
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/6236)
4 years, 10 months ago (2016-02-16 23:37:28 UTC) #37
herb_g
More ignore results.
4 years, 10 months ago (2016-02-16 23:40:47 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/160001
4 years, 10 months ago (2016-02-16 23:41:46 UTC) #40
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/6173) Build-Win-MSVC-x86-Debug-Trybot on ...
4 years, 10 months ago (2016-02-16 23:44:32 UTC) #42
herb_g
Handle native rgb properly.
4 years, 10 months ago (2016-02-16 23:52:32 UTC) #43
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/180001
4 years, 10 months ago (2016-02-16 23:53:56 UTC) #45
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/6290)
4 years, 10 months ago (2016-02-16 23:56:28 UTC) #47
herb_g
An additional stack allocation.
4 years, 10 months ago (2016-02-17 00:00:59 UTC) #48
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/200001
4 years, 10 months ago (2016-02-17 00:01:38 UTC) #50
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/6257) Build-Win-MSVC-x86_64-Debug-Trybot on ...
4 years, 10 months ago (2016-02-17 00:04:19 UTC) #52
herb_g
Fix more errors.
4 years, 10 months ago (2016-02-17 01:15:46 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/220001
4 years, 10 months ago (2016-02-17 01:16:23 UTC) #55
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/6258)
4 years, 10 months ago (2016-02-17 01:18:53 UTC) #57
herb_g
Fix lose of precision.
4 years, 10 months ago (2016-02-17 01:33:09 UTC) #58
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/240001
4 years, 10 months ago (2016-02-17 01:33:51 UTC) #60
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/6259)
4 years, 10 months ago (2016-02-17 01:36:43 UTC) #62
herb_g
More 0 len array.
4 years, 10 months ago (2016-02-17 01:41:02 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/260001
4 years, 10 months ago (2016-02-17 01:41:34 UTC) #65
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/6260)
4 years, 10 months ago (2016-02-17 01:44:20 UTC) #67
herb_g
Fix unaligned size problem.
4 years, 10 months ago (2016-02-17 17:11:23 UTC) #68
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/280001
4 years, 10 months ago (2016-02-17 17:11:47 UTC) #70
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-17 17:50:01 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1704583003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1704583003/280001
4 years, 10 months ago (2016-02-17 17:58:26 UTC) #75
commit-bot: I haz the power
Committed patchset #15 (id:280001) as https://skia.googlesource.com/skia/+/feec878e850850cb0a092a765e3af0f5a3fa2a42
4 years, 10 months ago (2016-02-17 18:00:12 UTC) #77
tomhudson
Appears to be breaking ASAN with use-after-free: https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN/builds/4785/steps/nanobench/logs/stdio
4 years, 10 months ago (2016-02-17 18:46:37 UTC) #78
bungeman-skia
https://codereview.chromium.org/1704583003/diff/280001/bench/SkLinearBitmapPipelineBench.cpp File bench/SkLinearBitmapPipelineBench.cpp (right): https://codereview.chromium.org/1704583003/diff/280001/bench/SkLinearBitmapPipelineBench.cpp#newcode74 bench/SkLinearBitmapPipelineBench.cpp:74: return name.c_str(); Gone! This is being reported by asan, ...
4 years, 10 months ago (2016-02-17 19:36:34 UTC) #80
bungeman-skia
https://codereview.chromium.org/1704583003/diff/280001/bench/SkLinearBitmapPipelineBench.cpp File bench/SkLinearBitmapPipelineBench.cpp (right): https://codereview.chromium.org/1704583003/diff/280001/bench/SkLinearBitmapPipelineBench.cpp#newcode74 bench/SkLinearBitmapPipelineBench.cpp:74: return name.c_str(); On 2016/02/17 19:36:34, bungeman1 wrote: > Gone! ...
4 years, 10 months ago (2016-02-17 20:10:18 UTC) #81
bungeman-skia
https://codereview.chromium.org/1704583003/diff/280001/bench/SkLinearBitmapPipelineBench.cpp File bench/SkLinearBitmapPipelineBench.cpp (right): https://codereview.chromium.org/1704583003/diff/280001/bench/SkLinearBitmapPipelineBench.cpp#newcode201 bench/SkLinearBitmapPipelineBench.cpp:201: delete buffer4b; This is also causing asan issues... delete ...
4 years, 10 months ago (2016-02-17 21:38:41 UTC) #82
bungeman-skia
4 years, 10 months ago (2016-02-17 21:53:21 UTC) #83
Message was sent while issue was closed.
On 2016/02/17 21:38:41, bungeman1 wrote:
>
https://codereview.chromium.org/1704583003/diff/280001/bench/SkLinearBitmapPi...
> File bench/SkLinearBitmapPipelineBench.cpp (right):
> 
>
https://codereview.chromium.org/1704583003/diff/280001/bench/SkLinearBitmapPi...
> bench/SkLinearBitmapPipelineBench.cpp:201: delete buffer4b;
> This is also causing asan issues...
> 
> delete [] buffer4b;

This issue fixed with https://codereview.chromium.org/1703203003/ .

Powered by Google App Engine
This is Rietveld 408576698