dc20847579
This allows us to remove 100 LOC from the inliner and is very unlikely to affect any existing benchmark. We don't have any evidence to support the idea that a one-iteration `for` loop with `continue`-based exits will be any faster than a standard function call on any existing GPU. Our fragment processors are generally written to avoid early returns, in large part to avoid hitting this path. This drastically impacts BlendEnum.sksl (which can no longer flatten out a switch over every blend function in SkSL) but is otherwise a wash. See: http://go/optimization-in-sksl-inliner suggestion 4(a) Change-Id: I1f9c27bcd7a8de46cc4e8d0b9768d75957cf1c50 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/385377 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com> |
||
---|---|---|
.. | ||
android_fonts | ||
diff_canvas_traces | ||
empty_images | ||
fonts | ||
icc_profiles | ||
images | ||
invalid_images | ||
nima | ||
particles | ||
skottie | ||
sksl | ||
text | ||
Cowboy.svg | ||
crbug769134.fil | ||
nov-talk-sequence.txt | ||
pdf_command_stream.txt | ||
README |
The resources directory includes some third party content used by Skia. Licenses for that code are included in this file. Openclipart Openclipart uses the Creative Commons Zero 1.0 Public Domain License every time an artist uploads a piece of clipart to Openclipart to make it clear the artist is releasing the creative work for anyone to use for any reason, even commercially. This act of "sharing" is the foundation Openclipart is based upon. More details on the license can be found at https://creativecommons.org/publicdomain/zero/1.0/. LGPL or compatible (as implied by inclusion in KDE SVN) http://websvn.kde.org/trunk/tests/ksvgtests/custom/cowboy.svg