Go to file
Brian Osman d927bd246d Runtime SkSL: Reflect inputs in SkRuntimeEffect
Adds a new structure to describe the inputs, including type,
shape, name, etc. This removes any references to the type
variables in the compiler's context, and centralizes the
logic for parsing those type variables.

Also normalizes the rules for what types are supported.
(This was inconsistent among the various functions before).

Now:
  - bool and int must be 'in'
  - float may be 'in' or 'uniform'
  - float[2-4] and matrices must be 'uniform'

Includes a new Slide that allows for interactive editing
of a runtime shader.

Change-Id: Ic2af68a80c8bb645ba96417c430da24de0a9c2d8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/260497
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-12-18 17:37:55 +00:00
animations
bench Remove all layout(ctype=...) from runtime SkSKL 2019-12-13 22:02:03 +00:00
bin [infra] Fix bin/try 2019-11-15 19:44:04 +00:00
build/fuchsia Notes on how to build SKQP for Fuchsia. 2019-12-04 15:14: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 Remove an uncessary and unused parameter for partially generating the JSON command list 2019-12-13 19:30:03 +00:00
docker Make OUTPUT_DIRECTORY in ProdDoxyfile configurable 2019-12-18 16:46:25 +00:00
docs/examples remove dead code around old SkPath enums 2019-12-14 01:58:10 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental fix build minimal_ios_mtl_skia_app 2019-12-16 19:44:36 +00:00
fuzz Make allocation of SkDescriptor do initialization 2019-12-16 19:55:42 +00:00
gm Reland x3 "Remove most of GrConfig.h" 2019-12-18 17:14:45 +00:00
gn Python3 tweaks 2019-12-17 17:12:03 +00:00
include Runtime SkSL: Reflect inputs in SkRuntimeEffect 2019-12-18 17:37:55 +00:00
infra Build and push skia-release and skia-wasm-release docker images 2019-12-18 13:29:55 +00:00
modules Reland "[skottie] Simplify effect builder lookup" 2019-12-16 19:56:22 +00:00
platform_tools [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
resources Add more variation support on Mac. 2019-12-13 18:16:13 +00:00
samplecode Add clipping for perspective triangles 2019-12-17 23:24:18 +00:00
site Update release notes files 2019-12-05 21:10:49 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Runtime SkSL: Reflect inputs in SkRuntimeEffect 2019-12-18 17:37:55 +00:00
tests Reland x3 "Remove most of GrConfig.h" 2019-12-18 17:14:45 +00:00
third_party Roll skia/third_party/skcms cd31cb38833c..ec78f685becd (1 commits) 2019-12-13 19:46:33 +00:00
tools Runtime SkSL: Reflect inputs in SkRuntimeEffect 2019-12-18 17:37:55 +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
AUTHORS Fix small memory leak in c-api example 2019-12-16 16:03:04 +00:00
BUILD.gn Runtime SkSL: Reflect inputs in SkRuntimeEffect 2019-12-18 17:37:55 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll third_party/externals/angle2 5407aaa089ac..751e78884a55 (13 commits) 2019-12-18 04:43:43 +00:00
go.mod [infra] Use "mod download" and "install", not "get" in chrome_release_branch 2019-12-06 11:16:41 +00:00
go.sum [infra] Use "mod download" and "install", not "get" in chrome_release_branch 2019-12-06 11:16:41 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS
PRESUBMIT.py Use urllib_request instead of urllib2 in PRESUBMIT. 2019-10-22 20:30:56 +00:00
public.bzl Skottie: fix public.bzl 2019-12-17 17:53:02 +00:00
README
README.chromium
RELEASE_NOTES.txt Add interface(s) for compressed backend texture support 2019-12-17 20:30:06 +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.