5186379e5e
In practice, calls to main are not meaningful: - If main is called in live code, it's recursive - If main is called in dead code, it's eliminated However, if optimization/dead-stripping is turned off, the dead-code case emits bad code in our GLSL/Metal backends. Rather than add a special case to the backends to work around an error in a meaningless edge case, we now reject the function call entirely. Prototyping main() is, as far as I can tell, harmless, so this continues to be allowed. Change-Id: I69916840c06810cd948bd74ff168ada1c4fc74f8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/557578 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Arman Uguray <armansito@google.com> Commit-Queue: Arman Uguray <armansito@google.com> |
||
---|---|---|
.. | ||
android_fonts | ||
diff_canvas_traces | ||
empty_images | ||
fonts | ||
icc_profiles | ||
images | ||
invalid_images | ||
particles | ||
rivs | ||
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