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

Issue 1048243002: small-object optimization for SkFunction (Closed)

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

Description

small-object optimization for SkFunction Anything <= sizeof(void*) will be inlined, avoiding heap allocation. BUG=skia: Committed: https://skia.googlesource.com/skia/+/97312d0f7946991d5c529a1edc53ed676eecb655

Patch Set 1 #

Patch Set 2 : try a cast to & instead #

Patch Set 3 : try with union punning #

Patch Set 4 : windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -8 lines) Patch
M src/core/SkFunction.h View 1 2 3 4 chunks +36 lines, -8 lines 0 comments Download
M src/utils/SkTLogic.h View 1 chunk +1 line, -0 lines 0 comments Download
M tests/FunctionTest.cpp View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (31 generated)
mtklein_C
5 years, 8 months ago (2015-03-31 21:41:28 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/1
5 years, 8 months ago (2015-03-31 21:41:56 UTC) #4
commit-bot: I haz the power
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/227)
5 years, 8 months ago (2015-03-31 21:43:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/20001
5 years, 8 months ago (2015-03-31 21:53:40 UTC) #8
commit-bot: I haz the power
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/229)
5 years, 8 months ago (2015-03-31 21:55:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/40001
5 years, 8 months ago (2015-03-31 22:03:17 UTC) #12
commit-bot: I haz the power
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/256) Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, ...
5 years, 8 months ago (2015-03-31 22:07:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/60001
5 years, 8 months ago (2015-03-31 22:10:05 UTC) #16
commit-bot: I haz the power
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/232)
5 years, 8 months ago (2015-03-31 22:11:31 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/80001
5 years, 8 months ago (2015-03-31 22:17:20 UTC) #20
commit-bot: I haz the power
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/239)
5 years, 8 months ago (2015-03-31 22:18:56 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/100001
5 years, 8 months ago (2015-03-31 22:21:58 UTC) #24
commit-bot: I haz the power
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/236)
5 years, 8 months ago (2015-03-31 22:23:28 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/120001
5 years, 8 months ago (2015-04-01 12:32:34 UTC) #28
commit-bot: I haz the power
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/243)
5 years, 8 months ago (2015-04-01 12:34:04 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/140001
5 years, 8 months ago (2015-04-01 12:41:42 UTC) #32
commit-bot: I haz the power
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/241)
5 years, 8 months ago (2015-04-01 12:43:23 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/160001
5 years, 8 months ago (2015-04-01 14:16:46 UTC) #36
commit-bot: I haz the power
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/265)
5 years, 8 months ago (2015-04-01 14:25:10 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/180001
5 years, 8 months ago (2015-04-01 14:29:42 UTC) #40
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-01 14:35:25 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/200001
5 years, 8 months ago (2015-04-01 14:47:34 UTC) #51
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-01 15:05:15 UTC) #53
bungeman-skia
lgtm
5 years, 8 months ago (2015-04-01 15:10:43 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048243002/200001
5 years, 8 months ago (2015-04-01 15:11:09 UTC) #56
commit-bot: I haz the power
5 years, 8 months ago (2015-04-01 15:11:22 UTC) #57
Message was sent while issue was closed.
Committed patchset #4 (id:200001) as
https://skia.googlesource.com/skia/+/97312d0f7946991d5c529a1edc53ed676eecb655

Powered by Google App Engine
This is Rietveld 408576698