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

Issue 1032243002: SkPMFloat::trunc() (Closed)

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

Description

SkPMFloat::trunc() Add and test trunc(), which is what get() used to be before rounding. Using trunc() is a ~40% speedup on our linear gradient bench. #neon #floats BUG=skia:3592 #n5 #n9 CQ_INCLUDE_TRYBOTS=client.skia.android:Test-Android-Nexus5-Adreno330-Arm7-Debug-Trybot;client.skia.android:Test-Android-Nexus9-TegraK1-Arm64-Release-Trybot Committed: https://skia.googlesource.com/skia/+/3d4c4a5a9feff961c6ba70443fa40ea1ca0a503e

Patch Set 1 #

Total comments: 2

Patch Set 2 : negative #

Patch Set 3 : document + test negative domain #

Patch Set 4 : remove isValid assert in _none trunc() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -13 lines) Patch
M HASHTAGS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M bench/PMFloatBench.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
M src/core/SkPMFloat.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/opts/SkPMFloat_SSE2.h View 1 chunk +10 lines, -0 lines 0 comments Download
M src/opts/SkPMFloat_SSSE3.h View 1 chunk +7 lines, -4 lines 0 comments Download
M src/opts/SkPMFloat_neon.h View 2 chunks +7 lines, -4 lines 0 comments Download
M src/opts/SkPMFloat_none.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M tests/PMFloatTest.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
mtklein_C
Nothing new; just the follow up from today.
5 years, 9 months ago (2015-03-26 02:27:24 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1032243002/1
5 years, 9 months ago (2015-03-26 02:30:03 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 9 months ago (2015-03-26 02:30:05 UTC) #5
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Please ask for an LGTM from a full ...
5 years, 9 months ago (2015-03-26 08:30:03 UTC) #7
reed1
lgtm w/ comment request https://codereview.chromium.org/1032243002/diff/1/src/core/SkPMFloat.h File src/core/SkPMFloat.h (right): https://codereview.chromium.org/1032243002/diff/1/src/core/SkPMFloat.h#newcode60 src/core/SkPMFloat.h:60: // Like get(), but truncates ...
5 years, 9 months ago (2015-03-26 13:05:10 UTC) #8
reed1
5 years, 9 months ago (2015-03-26 13:05:25 UTC) #9
mtklein
https://codereview.chromium.org/1032243002/diff/1/src/core/SkPMFloat.h File src/core/SkPMFloat.h (right): https://codereview.chromium.org/1032243002/diff/1/src/core/SkPMFloat.h#newcode60 src/core/SkPMFloat.h:60: // Like get(), but truncates instead of rounding. On ...
5 years, 9 months ago (2015-03-26 13:26:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1032243002/40001
5 years, 9 months ago (2015-03-26 13:27:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1032243002/60001
5 years, 9 months ago (2015-03-26 15:06:44 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 19:32:35 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/3d4c4a5a9feff961c6ba70443fa40ea1ca0a503e

Powered by Google App Engine
This is Rietveld 408576698