Go to file
John Stiles 21c2af2dca Add separate src and dst arguments to runtime-blend SkSL functions.
When called in the typical FP context, we only have a paint color, not a
separate source and destination color. So we pass the paint color in
each slot. This seems counterintuitive, but the upshot is that a runtime
blender will now pass the paint color as the input color to the source
effect and dest effect. (In a followup CL, sampling directly from a
runtime blender will allow distinct values to be passed into each slot,
and these values will be honored as-is.)

Change-Id: I96b016527d1066f0431a763f6609c3983b4854ec
Bug: skia:12257
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/433516
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-07-29 17:27:53 +00:00
animations
bazel bazel baby steps 2020-09-14 15:18:32 +00:00
bench Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
bin [infra] Fix RecreateSKPs after assets update 2021-07-19 14:13:09 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides fix tint roll - enable tint_build_wgsl_writer 2021-07-01 00:32:40 +00:00
client_utils/android Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
demos.skia.org [canvaskit] Fix demo image link 2021-06-03 12:57:50 +00:00
dm Add dm via-option rtblend- to test using Runtime Blends. 2021-07-20 17:43:50 +00:00
docker [infra] Update cmake docker image to be Debian 10 2021-07-23 11:21:31 +00:00
docs/examples Hide getBlendMode() 2021-07-07 20:55:26 +00:00
example Remove SDL from DEPS (and SDL example that used it) 2021-05-27 21:37:57 +00:00
experimental Reland "Experimental ICU runtime linking" 2021-07-27 19:51:31 +00:00
fuzz Add new SampleBlender callback to SkVMCodeGenerator. 2021-07-23 21:05:10 +00:00
gm [COLRv1] Spec update for degree specifications, fix PaintSkew 2021-07-29 14:55:45 +00:00
gn Add regression test for oss-fuzz:36655. 2021-07-29 15:22:20 +00:00
include Remove uber paths from the tessellation atlas 2021-07-28 21:36:50 +00:00
infra Roll dawn, tint, spirv-headers and spirv-tools 2021-07-29 13:02:43 +00:00
modules Reland "Experimental ICU runtime linking" 2021-07-27 19:51:31 +00:00
platform_tools [androidkit] add seekTime and seekFrame for SkottieView util view 2021-07-29 14:12:54 +00:00
resources Add regression test for oss-fuzz:36655. 2021-07-29 15:22:20 +00:00
samplecode Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
site Update minimum Linux versions 2021-07-16 16:20:26 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Add separate src and dst arguments to runtime-blend SkSL functions. 2021-07-29 17:27:53 +00:00
tests Add regression test for oss-fuzz:36655. 2021-07-29 15:22:20 +00:00
third_party Reland "Experimental ICU runtime linking" 2021-07-27 19:51:31 +00:00
tools Correct a typo in build_workaround_header.py 2021-07-29 13:06:01 +00:00
.bazelignore bazel baby steps 2020-09-14 15:18:32 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore add mskps/ to .gitignore 2021-07-06 21:04:55 +00:00
.gn Pre-emptive fix for upcoming ANGLE change. 2021-01-08 17:23:52 +00:00
AUTHORS Correct a typo in build_workaround_header.py 2021-07-29 13:06:01 +00:00
BUILD.bazel bazel baby steps 2020-09-14 15:18:32 +00:00
BUILD.gn Feed all top-level GPU accessors through skgpu::BaseDevice (take 2) 2021-07-26 14:56:37 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS [COLRv1] Spec update for degree specifications, fix PaintSkew 2021-07-29 14:55:45 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-02 23:41:54 +00:00
go.mod Update go/skia.org/infra in go.mod/go.sum 2021-07-22 13:55:04 +00:00
go.sum Update go/skia.org/infra in go.mod/go.sum 2021-07-22 13:55:04 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
PRESUBMIT.py [fiddle] Add PRESUBMIT rule to run tools/fiddle/make_all_examples_cpp.py 2021-07-01 15:20:57 +00:00
public.bzl Reland "Experimental ICU runtime linking" 2021-07-27 19:51:31 +00:00
README
README.chromium
RELEASE_NOTES.txt Rename/simplify SkCanvas::resetClip() and make recordable 2021-07-23 19:05:42 +00:00
whitespace.txt Test SkCQ 2021-07-24 21:07:28 +00:00
WORKSPACE.bazel bazel baby steps 2020-09-14 15:18:32 +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.