Go to file
Florin Malita 5a9a981edf Tiling support for SkSweepGradient
Expand the sweep gradient definition to include a color stop angular range ([0, 360] by default).

Color stop positions in [0,1] are mapped to this range, and drawing outside is controlled by a
tile mode param.

This is closer to the CSS gradients spec and allows us to use fewer color stops in Blink conic
gradients.

Impl-wise, the remapping is effected after t calculation, and before tiling.

Change-Id: I5d71be01d134404d6eb9d7e2a904ec636b39f855
Reviewed-on: https://skia-review.googlesource.com/27704
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
2017-08-01 21:03:28 +00:00
animations
bench Compute correct bounds for DrawShadowRec. 2017-07-31 13:55:32 +00:00
bin add a Win/Clang build bot 2017-07-31 19:53:51 +00:00
debugger Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
dm Roll ANGLE 2017-08-01 17:08:03 +00:00
docs fix self references 2017-07-31 16:49:12 +00:00
example Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
experimental Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
fuzz use unique_ptr for codec factories 2017-07-25 15:35:23 +00:00
gm Tiling support for SkSweepGradient 2017-08-01 21:03:28 +00:00
gn Tell clang/win to emulate MSVC 2015 2017-07-31 20:58:55 +00:00
include Tiling support for SkSweepGradient 2017-08-01 21:03:28 +00:00
infra Add Perf-Win2k8-Clang bots. 2017-08-01 17:47:49 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Fix double delete in SkBmpCodec 2017-07-14 16:25:54 +00:00
samplecode clang on windows support 2017-07-31 18:39:23 +00:00
site Add links to Analytic AA design docs 2017-07-31 18:36:13 +00:00
src Tiling support for SkSweepGradient 2017-08-01 21:03:28 +00:00
tests Make ProcessorCloneTest more robust, fix matrix conv. onIsEqual 2017-08-01 21:02:18 +00:00
third_party link libwebpmux in system-webp builds 2017-08-01 14:33:38 +00:00
tools clang on windows support 2017-07-31 18:39:23 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore clang on windows support 2017-07-31 18:39:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn clang on windows support 2017-07-31 18:39:23 +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 ANGLE 2017-08-01 17:08:03 +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
PRESUBMIT.py Update CQ extra trybots after switch to Debian 2017-06-29 19:35:40 +00:00
public.bzl Remove the temporary flag SK_NO_ANALYTIC_AA 2017-07-28 15:11:27 +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 Revert "Revert "Make GrAtlasTextOp a non-legacy GrMeshDrawOp"" 2017-07-19 12:17: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.