642cde289d
At IR generation time, this CL limits our optimizations to only @switch statements. A regular switch statement will only be optimized during the optimization phase even if the switch-value is a known compile-time constant. This is done to avoid upsetting our reachability analysis. Most of this CL is moving existing logic from SkSLCompiler into SkSLAnalysis and SkSLSwitchStatement. Although the diffs look large, the actual changes are very small. Change-Id: I90920f41bc386dfa7a980ae7510f6681231a5120 Bug: skia:11340, skia:11342, skia:11319 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/372679 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@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