Go to file
Brian Osman 871aa74797 Add support for children to runtime color filters
Like shaders, sampling a null child will return the input color (in
this case, the output of the skia shader stage). This gives us a path
to removing the implicit input color passed to main, which is the real
goal. Using this to create more interesting color filters is also
possible, although we need to add the versions of sample() that take a
color to really unlock the potential.

Change-Id: I6a7506055120756497d7583f14d6f928180825fc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/308515
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2020-08-07 14:50:36 +00:00
animations
bench Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
bin bin/try: automatically set 'git cl issue' when not found 2020-06-25 17:44:01 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
demos.skia.org Modify CanvasKit to work in a Web Worker and add a demo of it in action. 2020-07-21 22:21:06 +00:00
dm Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
docker Fix swiftshader Dockerfile. 2020-07-20 17:17:53 +00:00
docs/examples Revert "Migrate SkImage::MakeFromTexture to GrRecordingContext" 2020-08-06 17:25:09 +00:00
example Clean up GrContext references in the src/gpu 2020-07-16 14:14:08 +00:00
experimental Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
fuzz Add inline threshold to SkSL::Program::Settings 2020-08-07 14:45:06 +00:00
gm Add support for children to runtime color filters 2020-08-07 14:50:36 +00:00
gn Revert "Reland "Switch GN defs on Mac and iOS to use frameworks, take 2."" 2020-08-07 12:26:27 +00:00
include Add support for children to runtime color filters 2020-08-07 14:50:36 +00:00
infra allow external files in canvas_perf.js tests 2020-08-06 20:27:32 +00:00
modules [skottie] Add animation in/out point getters 2020-08-07 14:47:26 +00:00
platform_tools get rid of unused include 2020-08-05 18:48:47 +00:00
resources Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
samplecode Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
site A quick start guide for CanvasKit app structure 2020-08-03 19:17:17 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Add support for children to runtime color filters 2020-08-07 14:50:36 +00:00
tests Implement matrix casting in Metal. 2020-08-06 19:22:51 +00:00
third_party Roll skcms from 8da4cb002cb4 to b1f9041ffe31 (1 revision) 2020-07-31 13:54:35 +00:00
tools allow external files in canvas_perf.js tests 2020-08-06 20:27:32 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
.gitignore [infra] Update recipe dependencies 2020-08-03 11:34:57 +00:00
.gn
AUTHORS GCC: fix unknown attribute warnings for no_sanitize 2020-07-06 13:52:22 +00:00
BUILD.gn Revert "Reland "Switch GN defs on Mac and iOS to use frameworks, take 2."" 2020-08-07 12:26:27 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll ANGLE from bedac4f06b5c to 3831ac2043e4 (14 revisions) 2020-08-07 06:35:04 +00:00
go.mod Update Go Deps 2020-07-25 05:33:32 +00:00
go.sum Update Go Deps 2020-07-25 05:33:32 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +00:00
README
README.chromium
RELEASE_NOTES.txt Reland "Add an SkImageGenerator that uses NDK APIs" 2020-08-05 18:55:30 +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.