Go to file
John Stiles 9e506eeb7e Add the inline keyword to top-level FPs that use an explicit return.
This CL also updates the GrMagnifierEffect to use `return` instead of
`sk_OutColor` in order to test the results in a large, rarely-used FP
that would not naturally be a very good candidate for inlining.

FPs that use a return statement can generate code that is very similar
to before. The visible differences:
- Variable/uniform names are slightly longer (extra `_c0`)
- The input coordinates are NOT copied to a temp variable.
- The result of the inline function is copied from a temp variable to
  output_Stage1.

A diff for the curious: http://screen/9rRDmvXYCPnkjRZ

Change-Id: Icdbf22f047d944de7c018ca33970dd629dd4b7b0
Bug: skia:10549
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/313152
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-08-26 18:03:04 +00:00
animations
bench use pathbuilder 2020-08-25 16:29:48 +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 Add path rendering performance demo to demos.skia.org 2020-08-11 19:57:08 +00:00
dm Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
docker [canvaskit,pathkit] Update to emsdk 2.0 2020-08-20 14:55:50 +00:00
docs/examples Update more example code to GrDirectContext/GrRecordingContext pair 2020-08-13 19:30:12 +00:00
example Clean up GrContext references in the src/gpu 2020-07-16 14:14:08 +00:00
experimental Use factories to avoid using (deprecated) path editing methods 2020-08-24 19:53:13 +00:00
fuzz Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
gm Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
gn Reland "Reland "ICU: SkShaper (bidi iterator only)"" 2020-08-26 17:46:33 +00:00
include remove __ARM_FEATURE_CRC32 workaround 2020-08-25 22:36:41 +00:00
infra Add Retries to Canaries 2020-08-26 15:04:16 +00:00
modules Reland "Reland "ICU: SkShaper (bidi iterator only)"" 2020-08-26 17:46:33 +00:00
platform_tools add SurfaceView support for skottie on android 2020-08-21 13:24:30 +00:00
resources [skottie] Assorted shape repeater fixes 2020-08-26 13:24:53 +00:00
samplecode SkRuntimeEffect SkSL has a new signature for main() 2020-08-25 13:36:28 +00:00
site SkRuntimeEffect SkSL has a new signature for main() 2020-08-25 13:36:28 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Add the inline keyword to top-level FPs that use an explicit return. 2020-08-26 18:03:04 +00:00
tests Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
third_party set _XOPEN_SOURCE=0 when building ICU 2020-08-25 19:47:37 +00:00
tools Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore [infra] Update recipe dependencies 2020-08-03 11:34:57 +00:00
.gn
AUTHORS Search ICU data on Windows relative to the current module. 2020-08-20 14:51:42 +00:00
BUILD.gn Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll ANGLE from 7bce5194d1d6 to 3c2454b82c05 (19 revisions) 2020-08-26 05:57:13 +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
OWNERS
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl Remove webgl from public.bzl 2020-08-20 17:40:54 +00:00
README
README.chromium
RELEASE_NOTES.txt Filter transformed atlas images correctly on GPU. 2020-08-25 18:04:12 +00:00
whitespace.txt

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.