Go to file
commit-bot@chromium.org f31fa24914 Make gMask_00FF00FF a constant
This is to optimize SkAlphaMulQ() in PIC mode. With the visibility=default
symbol the constant is not known at compile time (and is not a constant), but
instead is fetched through a double indirection through GOT. The function is
quite hot on one of the chromium benchmarks:
rasterize_and_record_micro.key_silk_cases.

This change replaces the symbol with a compile-time constant. As a bonus the
variable is not exported from the dynamic library, i. e. a cleaner library
interface.

See specific performance improvements on Android here:
  http://goo.gl/iMuTDt

R=skyostil@chromium.org, tomhudson@chromium.org, mtklein@google.com, reed@google.com, tomhudson@google.com

Author: pasko@chromium.org

Review URL: https://codereview.chromium.org/270473003

git-svn-id: http://skia.googlecode.com/svn/trunk@14696 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-05-12 15:38:00 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Adds the ability to filter bench expectations in builder/config level. 2014-05-12 14:36:43 +00:00
debugger Sanitizing source files in Housekeeper-Nightly 2014-04-24 03:05:07 +00:00
dm DM: test SkRecord with and without optimization. 2014-05-06 19:48:02 +00:00
docs warn that docs/quickstart.md is out of sync with official docs 2014-04-21 19:18:46 +00:00
expectations bench rebase after 108eddb 2014-05-10 12:57:48 +00:00
experimental remove unused Kernel33MaskFilter 2014-05-12 13:35:55 +00:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Allow for no pdf rasterizers in gm. 2014-05-09 15:22:41 +00:00
gyp Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag from chromium_defines. 2014-05-12 14:12:38 +00:00
include Make gMask_00FF00FF a constant 2014-05-12 15:38:00 +00:00
platform_tools Run Android make script from any directory 2014-05-06 18:31:09 +00:00
resources Flatten resources directory 2014-05-09 18:08:24 +00:00
samplecode remove unused Kernel33MaskFilter 2014-05-12 13:35:55 +00:00
src Make gMask_00FF00FF a constant 2014-05-12 15:38:00 +00:00
tests Flatten resources directory 2014-05-09 18:08:24 +00:00
third_party Drop executable flag from headers so that they can be packaged 2014-03-11 19:55:51 +00:00
tools add --readJsonSummaryPath to render_pictures 2014-05-12 15:37:20 +00:00
trybots_to_run/chrome Deleting the hardcoded list of compile bots in trybots_to_run. 2013-04-09 11:59:42 +00:00
.gitignore clean up gitignore; sort, add chromeos/externals, remove trailing /. 2014-04-17 22:56:46 +00:00
AUTHORS Fixed Skia compilation error with strict clang. 2014-04-07 13:12:47 +00:00
codereview.settings Add BUG_PREFIX to codereview.settings 2014-01-14 21:19:21 +00:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Add fmalita@chromium.org to CQ_COMMITTERS. 2014-05-01 13:32:21 +00:00
DEPS Revert of Roll ANGLE. (https://codereview.chromium.org/237173002/) 2014-05-01 20:20:50 +00:00
Doxyfile update Doxygen config file to include gpu directory in api generation 2014-03-07 16:20:36 +00:00
gyp_skia Add a dry-run option to gyp_skia. 2014-05-09 15:04:18 +00:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Make make.bat and gyp_skia work with VS 2012. 2013-05-07 19:31:20 +00:00
make.py change default build (in "make" wrapper) to ninja on all platforms 2014-04-01 07:02:41 +00:00
Makefile simplify tools/xsan_build now that make runs ninja 2014-04-24 18:16:13 +00:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Check if the issue owner is in the AUTHORS file in PRESUBMIT.py 2014-02-03 14:18:32 +00:00
README Point to skiadocs in our README. 2014-05-09 04:30:09 +00:00
README.chromium add root files from chrome 2013-08-13 19:11:15 +00:00
skia.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
whitespace.txt Whitespace change to test skia CQ. 2014-05-06 15:20:53 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://sites.google.com/site/skiadocs/home