Go to file
Chris Dalton 4328e928ef Add a stencil/tessellation hybrid mode for path rendering
This is a hybrid approach where we stencil only the curves using GPU
tessellation shaders, and then tessellate the path's inner polygon on
CPU and draw it directly to the final render target, stencilled
against the curves. Tessellating just the inner polygon is more than
fast enough to do in real time, and still allows us fill in the
majority of pixels in a single render pass. It gives us most the
benefit of CPU tessellation, but at a fraction of the cost.
Furthermore, the tessellated inner polygon can potentially be cached
and reused independent of the view matrix.

Change-Id: Id45adc643b51ab80a0c655dd2045a5314bdc7507
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/266456
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2020-01-30 01:44:15 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Revert "Complete rewrite of the SkSL interpreter"" 2020-01-24 14:42:37 +00:00
bin [infra] Fix bin/try 2020-01-14 12:05:56 +00:00
build/fuchsia Add logger service. 2020-01-04 02:27:14 +00:00
build_overrides Update Dawn backend to ToT. This is about 3 months of changes. 2019-10-15 22:26:38 +00:00
dm add --skvm to DM 2020-01-28 19:07:54 +00:00
docker [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
docs/examples [minor] docs/examples: cleanup 2020-01-16 17:47:15 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Return summaries of all layers for display 2020-01-29 20:55:49 +00:00
fuzz Make it safe to include SkRuntimeEffect.h from client code 2019-12-30 21:06:56 +00:00
gm Update wacky_yuv_formats GM to demonstrate YUV resizing on the GPU 2020-01-29 14:16:36 +00:00
gn Add a stencil/tessellation hybrid mode for path rendering 2020-01-30 01:44:15 +00:00
include extract font from run 2020-01-29 15:28:06 +00:00
infra Roll recipe dependencies (trivial). 2020-01-30 00:40:23 +00:00
modules [skottie] Cleanup: convert shape stroke/fill to new adapter pattern 2020-01-29 19:02:07 +00:00
platform_tools Reland "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2020-01-08 16:55:43 +00:00
resources [skottie] Separate text resize options 2020-01-29 00:09:42 +00:00
samplecode tweak textbox to use subpixel 2020-01-29 18:26:27 +00:00
site [canvaskit] Add demo for RT shader 2020-01-29 19:42:40 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Add a stencil/tessellation hybrid mode for path rendering 2020-01-30 01:44:15 +00:00
tests Memory leak in cache 2020-01-29 17:39:37 +00:00
third_party [canvaskit] Fix support for fonts with CFF 2020-01-29 12:39:55 +00:00
tools Return summaries of all layers for display 2020-01-29 20:55:49 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Optimize SkSL xor where one argument is constant 2019-12-20 14:50:46 +00:00
BUILD.gn remove more vtune references 2020-01-29 04:19:03 +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 ../src 77c4d4c42f40..243744c215b7 (487 commits) 2020-01-29 04:53:03 +00:00
go.mod Update Go Deps 2020-01-29 05:23:33 +00:00
go.sum Update Go Deps 2020-01-29 05:23:33 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py rm mtklein@chromium 2020-01-27 18:20:06 +00:00
public.bzl [skottie] Cleanup: convert shape layer adapters to new pattern 2020-01-22 20:16:36 +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
RELEASE_NOTES.txt Add SkImage::MakeRasterFromCompressed and make MakeFromCompressed fall back to decompression for unsupported compression types (take 2) 2020-01-28 14:03:14 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +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.