Go to file
Mike Reed 121c2afb99 clipShader -- raster implementation
1. pass shader+op down to device
2. bitmapdevice pass it down to rasterclip
3. rasterclip only ever stores at most one shader
   - if there is a ctm, fold that into (another) shader
   - if the op is difference, invert the sense of alpha
   - if there was a previous shader, compose with it
4. pass through to rasterpipelineblitter
5. it prepends the colorPipeline with the clipShader, and stashes its
   results in a buffer (fClipShaderBuffer)
6. in each blit, scale/lerp from the buffer before storing the result

Change-Id: I07c7a8a20b9ae95cdcc9954237d115e63819f7c1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275798
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2020-03-10 18:43:21 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Reland "Move GrGpuResource GrSurface and GrTexture into src." 2020-03-05 19:16:21 +00:00
bin [infra] Fix bin/try 2020-01-14 12:05:56 +00:00
build/fuchsia Add command line argument to specify the rendertests file. 2020-03-05 17:51:12 +00:00
build_overrides Add Dawn on Windows job. 2020-02-28 17:48:37 +00:00
dm Clean up for DDL program pre-compilation 2020-03-05 19:11:37 +00:00
docker Revert "fiddle - Don't make warnings into errors." 2020-02-07 21:39:38 +00:00
docs/examples basic, untested BGR 1010102 and 101010x 2020-02-11 21:44:57 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +00:00
fuzz Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
gm clipShader -- raster implementation 2020-03-10 18:43:21 +00:00
gn Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +00:00
include clipShader -- raster implementation 2020-03-10 18:43:21 +00:00
infra [infra] gen_tasks: fix TODOs in usesDocker() 2020-03-10 10:17:59 +00:00
modules [skottie] 2D spatial interpolation support 2020-03-10 17:50:55 +00:00
platform_tools Reland "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2020-01-08 16:55:43 +00:00
resources re-enable fnma 2020-03-05 21:58:07 +00:00
samplecode Adjusting getRectsForRange to grapheme edges. 2020-03-05 17:42:32 +00:00
site [canvaskit] Update dash example link to use new API. 2020-03-09 17:56:30 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src clipShader -- raster implementation 2020-03-10 18:43:21 +00:00
tests Revert "Move interpreter disassemble to out-of-line member of ByteCode" 2020-03-07 17:44:05 +00:00
third_party Restore logic to check for .git in ANGLE BUILD.gn 2020-03-02 20:02:19 +00:00
tools clipShader -- raster implementation 2020-03-10 18:43:21 +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 Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +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 5c8f724bfe77..7f81408a3581 (409 commits) 2020-03-10 05:05:58 +00:00
go.mod Update Go Deps 2020-03-10 05:22:58 +00:00
go.sum Update Go Deps 2020-03-10 05:22:58 +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 [Tree Status] Update all references in Skia repo to tree-status 2020-03-02 18:43:49 +00:00
public.bzl Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +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 Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +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.