Go to file
msarett a5ba329c81 Add clamp to sk_linear_to_srgb, reorder instructions
Improves performance for xforms toSRGB and to2Dot2.  Seems
more optimal to save clamping until the end.  That way we
don't stall the mul pipeline with a min/max.
toSRGB:  371us -> 346us
to2Dot2: 404us -> 387us

FWIW, it probably makes sense to clamp inside
sk_linear_to_srgb anyway.  If not, we should potentially
provide two versions (one that clamps and one that
doesn't).

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2173803002
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Review-Url: https://codereview.chromium.org/2173803002
2016-07-22 06:23:00 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove unnecessary getColorSpace() API from SkCodec 2016-07-21 11:57:49 -07:00
bin GN: restore gn.py partly as fetch-gn 2016-07-22 03:34:25 -07:00
build_overrides GN 2016-06-23 10:29:30 -07:00
cmake Delete the legacy SVG parser 2016-07-19 06:12:54 -07:00
debugger Fix old debugger 2016-04-29 14:02:18 -07:00
dm Remove unnecessary getColorSpace() API from SkCodec 2016-07-21 11:57:49 -07:00
example Add SkColorSpace to GrDrawContext 2016-07-21 13:28:36 -07:00
experimental tools/SkShaper: SkStream->blob 2016-07-12 09:17:43 -07:00
fuzz Port FuzzPathop from chromium 2016-07-19 16:50:03 -07:00
gm Fix SkScalerContext_FreeType::generateFontMetrics. 2016-07-21 13:32:09 -07:00
gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
gyp Setup system in Vulkan to reuse VkDescriptorSet allocations. 2016-07-21 11:50:37 -07:00
include Add SkColorSpace to GrDrawContext 2016-07-21 13:28:36 -07:00
infra Add "skp" asset 2016-07-21 10:27:00 -07:00
platform_tools Update documents/scripts for SampleApp removal 2016-07-12 09:12:39 -07:00
resources Use hintgasp font when testing rendering. 2016-07-12 06:55:25 -07:00
samplecode Add SkColorSpace to GrDrawContext 2016-07-21 13:28:36 -07:00
site docs: Add info on using blamer to the sheriffing docs. 2016-07-21 05:37:28 -07:00
src Add clamp to sk_linear_to_srgb, reorder instructions 2016-07-22 06:23:00 -07:00
tests conic fuzz fix 2016-07-22 03:34:19 -07:00
third_party Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
tools Disable CopySurface test on Nexus 10 for flakiness 2016-07-22 04:09:47 -07:00
.gitignore Add CIPD support for bot assets 2016-06-28 04:41:49 -07:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS SkPDF: Use type 2/3 shading for gradient shaders 2016-06-17 12:38:54 -07:00
BUILD.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
codereview.settings Automatically add a docs preview link and NOTRY=true when there are only docs changes. 2015-02-26 10:16:13 -08:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS GN: remove hooks again 2016-07-21 13:54:39 -07:00
Doxyfile Documentation: SkCanvas API 2015-05-19 10:21:29 -07:00
gyp_skia Make Win runtime DLLs writeable before overwriting 2016-03-18 08:33:38 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Include resources directory in google3 sync. 2015-10-20 13:00:48 -07:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py GYP: remove stale skia_scalar gyp variable 2015-11-10 13:25:12 -05:00
Makefile Add visualbench as valid target to Makefile 2015-12-18 08:05:06 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Specifying master names with "master." prefix is deprecated 2016-07-13 12:57:42 -07:00
public.bzl Add SK_SUPPORT_LEGACY_ACCESSBITMAP to public.bzl. 2016-07-22 06:19:21 -07:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
SKP_VERSION Update SKP version 2016-07-17 01:02:55 -07:00
whitespace.txt Trigger bots and upload images to Gold 2016-07-21 05:38:49 -07:00

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

See full details, and build instructions, at https://skia.org.