Go to file
Yuqian Li 7741c75152 Use first/second instead of min/max in 2pt conical gradient
Here's the tiny performance gain:

$python tools/calmbench/calmbench.py firstsecond --extraarg "-m conic"

firstsecond (compared to master) is likely
    4.23% faster in gradient_conicalOut_clamp_3color
    4.23% faster in gradient_conicalOutZero_clamp_3color
    4.79% faster in gradient_conical_clamp_shallow_dither
    6.04% faster in gradient_conical_clamp_3color
    6.04% faster in gradient_conicalZero_clamp_3color
    6.42% faster in gradient_conicalOut_clamp
    6.43% faster in gradient_conicalOutZero_clamp
    6.74% faster in gradient_conical_clamp
    6.98% faster in gradient_conical_clamp_shallow
    6.98% faster in gradient_conicalZero_clamp

Bug: skia:
Change-Id: Id74866908b99753ed8b16a657d3f67c9255d0043
Reviewed-on: https://skia-review.googlesource.com/76561
Commit-Queue: Yuqian Li <liyuqian@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2017-12-11 19:42:28 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Implement a fast path for solid color lattice rectangle 2017-12-11 18:26:18 +00:00
bin bin/try: No prompt for a single matching job 2017-12-11 18:32:08 +00:00
debugger Add GrGLMakeNativeInterface factory that returns sk_sp<const GrGLInterface>. 2017-12-11 17:54:38 +00:00
dm Revert "Revert "resources: remove most uses of GetResourcePath()"" 2017-12-09 01:27:50 +00:00
docs resources: resource identifiers don't begin with leading slash 2017-12-08 20:03:18 +00:00
example Add GrGLMakeNativeInterface factory that returns sk_sp<const GrGLInterface>. 2017-12-11 17:54:38 +00:00
experimental resources: orgainize directory. 2017-12-08 17:16:00 +00:00
fuzz Implement a fast path for solid color lattice rectangle 2017-12-11 18:26:18 +00:00
gm Implement a fast path for solid color lattice rectangle 2017-12-11 18:26:18 +00:00
gn Turn on PGO for Skia on Android 2017-12-11 19:20:08 +00:00
include add virtual to confirm flattenable type 2017-12-11 18:50:00 +00:00
infra Remove PixelC CPU jobs. 2017-12-11 17:58:08 +00:00
platform_tools apps/build.gradle: skiaOut is now absolute since a2e7f5ae10 2017-12-11 17:16:58 +00:00
resources resources: orgainize directory. 2017-12-08 17:16:00 +00:00
samplecode CCPR: Don't use instanced draw calls with geometry shaders 2017-12-11 17:27:38 +00:00
site resources: resource identifiers don't begin with leading slash 2017-12-08 20:03:18 +00:00
src Use first/second instead of min/max in 2pt conical gradient 2017-12-11 19:42:28 +00:00
tests add virtual to confirm flattenable type 2017-12-11 18:50:00 +00:00
third_party Update Windows clang asset 2017-12-08 16:55:10 +00:00
tools Implement a fast path for solid color lattice rectangle 2017-12-11 18:26:18 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Ignore generated README.recipes.md 2017-10-26 18:07:27 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS fix use of uninitialized flag in SkCodec 2017-10-09 19:17:05 +00:00
BUILD.gn Add GrGLMakeNativeInterface factory that returns sk_sp<const GrGLInterface>. 2017-12-11 17:54:38 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00: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 Roll skia/third_party/externals/angle2/ 58ba6bf5e..9b88991c7 (1 commit) 2017-12-09 01:24:39 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py PostUploadHook needs to return something 2017-12-07 18:40:09 +00:00
public.bzl Add GrGLMakeNativeInterface factory that returns sk_sp<const GrGLInterface>. 2017-12-11 17:54:38 +00: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
whitespace.txt Removed general bot upload permissions, whitespace change to test 2017-12-04 13:03:34 +00:00

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

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