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

Issue 2100323002: Reduce size of LinearBitmapPipeline (Closed)

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

Description

Reduce size of LinearBitmapPipeline from 281K to 134K, but keep the same speed. Speed checked using top25desk SKPS. Size measured using: llvm-nm-3.6 -print-file-name -print-size -U out/Release/libskia_core.a | awk '{totals[$1] += strtonum("0x" $3)} END { for (i in totals) {print totals[i], i}}' | sort -n | column -t GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2100323002 Committed: https://skia.googlesource.com/skia/+/00dd4538a5c6331dfc3a52283e6ece40f0e9425d

Patch Set 1 #

Patch Set 2 : Final chooser code. #

Patch Set 3 : rename #

Patch Set 4 : ssize_t #

Patch Set 5 : remove ssize_t #

Patch Set 6 : fix win32 alignment problems. #

Patch Set 7 : Fix win32 alignment problems again. #

Patch Set 8 : Fix namespace problems. #

Patch Set 9 : Fix default ctor problem. #

Patch Set 10 : Fix uninitialized variable. #

Total comments: 4

Patch Set 11 : Sync with new SK_VECTORCALL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -139 lines) Patch
M src/core/SkBitmapProcShader.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkLinearBitmapPipeline.h View 1 2 3 4 5 6 7 2 chunks +40 lines, -4 lines 0 comments Download
M src/core/SkLinearBitmapPipeline.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +81 lines, -26 lines 0 comments Download
M src/core/SkLinearBitmapPipeline_core.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +20 lines, -0 lines 0 comments Download
M src/core/SkLinearBitmapPipeline_sample.h View 1 2 3 4 5 6 7 8 9 10 26 chunks +145 lines, -108 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 55 (26 generated)
herb_g
rename
4 years, 5 months ago (2016-06-29 20:08:00 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100323002/40001
4 years, 5 months ago (2016-06-29 20:09:57 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/9455)
4 years, 5 months ago (2016-06-29 20:15:48 UTC) #8
herb_g
ssize_t
4 years, 5 months ago (2016-06-29 20:18:02 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100323002/60001
4 years, 5 months ago (2016-06-29 20:19:02 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/9457)
4 years, 5 months ago (2016-06-29 20:26:09 UTC) #13
herb_g
remove ssize_t
4 years, 5 months ago (2016-06-29 20:36:05 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100323002/80001
4 years, 5 months ago (2016-06-29 20:36:34 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/9429)
4 years, 5 months ago (2016-06-29 20:42:27 UTC) #19
herb_g
fix win32 alignment problems.
4 years, 5 months ago (2016-06-29 20:57:51 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100323002/100001
4 years, 5 months ago (2016-06-29 20:59:02 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on master.client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/9431)
4 years, 5 months ago (2016-06-29 21:07:51 UTC) #24
herb_g
Fix win32 alignment problems again.
4 years, 5 months ago (2016-06-30 15:54:37 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100323002/120001
4 years, 5 months ago (2016-06-30 16:11:27 UTC) #27
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 master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/9366)
4 years, 5 months ago (2016-06-30 16:15:37 UTC) #29
herb_g
Fix namespace problems.
4 years, 5 months ago (2016-07-06 15:27:02 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100323002/140001
4 years, 5 months ago (2016-07-06 15:27:30 UTC) #32
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 master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/9439)
4 years, 5 months ago (2016-07-06 15:32:31 UTC) #34
herb_g
Fix default ctor problem.
4 years, 5 months ago (2016-07-06 15:39:32 UTC) #35
herb_g
Fix uninitialized variable.
4 years, 5 months ago (2016-07-06 17:40:55 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100323002/180001
4 years, 5 months ago (2016-07-06 17:55:43 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-06 18:42:30 UTC) #40
herb_g
4 years, 5 months ago (2016-07-07 14:28:26 UTC) #41
mtklein
lgtm, with some small questions sorry about the rebase you'll need after SK_VECTORCALL https://codereview.chromium.org/2100323002/diff/180001/src/core/SkLinearBitmapPipeline.h File ...
4 years, 5 months ago (2016-07-07 14:33:33 UTC) #42
herb_g
Sync with new SK_VECTORCALL.
4 years, 5 months ago (2016-07-07 16:11:27 UTC) #43
herb_g
https://codereview.chromium.org/2100323002/diff/180001/src/core/SkLinearBitmapPipeline.h File src/core/SkLinearBitmapPipeline.h (right): https://codereview.chromium.org/2100323002/diff/180001/src/core/SkLinearBitmapPipeline.h#newcode107 src/core/SkLinearBitmapPipeline.h:107: SkASSERTF(sizeof(Variant) <= sizeof(fSpace), On 2016/07/07 14:33:33, mtklein wrote: > ...
4 years, 5 months ago (2016-07-11 15:15:16 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100323002/200001
4 years, 5 months ago (2016-07-11 17:01:13 UTC) #51
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://skia.googlesource.com/skia/+/00dd4538a5c6331dfc3a52283e6ece40f0e9425d
4 years, 5 months ago (2016-07-11 17:33:41 UTC) #53
reed1
4 years, 5 months ago (2016-07-11 19:14:23 UTC) #55
Message was sent while issue was closed.
woot

Powered by Google App Engine
This is Rietveld 408576698