9e506eeb7e
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> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
go.mod | ||
go.sum | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
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.