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 283753003: Blends ought to be fast (Closed)

Created:
6 years, 7 months ago by Tom Hudson
Modified:
6 years, 7 months ago
Reviewers:
reed1, mtklein, tomhudson
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

By default, Chromium optimizes for size when compiling on Android. Forcing the SkAlphaMulQ() function inline can yield as much as a 5-10% improvement in rasterization time for some of Chromium's telemetry tests on the Nexus 10, since it's in the inner loop of complex blends. R=mtklein@google.com,reed@google.com Committed: http://code.google.com/p/skia/source/detail?r=14723

Patch Set 1 #

Patch Set 2 : Document use of forced inlining. #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M include/core/SkColorPriv.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
tomhudson
PTAL - there were 18 candidates for forced inlining on Blink, but in a first ...
6 years, 7 months ago (2014-05-13 10:04:15 UTC) #1
mtklein
+reed for include/ Tack on a comment about this in the code so we don't ...
6 years, 7 months ago (2014-05-13 12:07:41 UTC) #2
reed1
lgtm
6 years, 7 months ago (2014-05-13 13:23:44 UTC) #3
tomhudson
On 2014/05/13 12:07:41, mtklein wrote: > Tack on a comment about this in the code ...
6 years, 7 months ago (2014-05-14 13:03:25 UTC) #4
tomhudson
The CQ bit was checked by tomhudson@google.com
6 years, 7 months ago (2014-05-14 13:04:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/tomhudson@chromium.org/283753003/20001
6 years, 7 months ago (2014-05-14 13:04:32 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 13:04:34 UTC) #7
commit-bot: I haz the power
Failed to apply patch for include/core/SkColorPriv.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-14 13:04:34 UTC) #8
tomhudson
The CQ bit was checked by tomhudson@google.com
6 years, 7 months ago (2014-05-14 13:25:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/tomhudson@chromium.org/283753003/40001
6 years, 7 months ago (2014-05-14 13:25:06 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-14 13:34:43 UTC) #11
Message was sent while issue was closed.
Change committed as 14723

Powered by Google App Engine
This is Rietveld 408576698