Go to file
Brian Osman 4a47da7357 Interpreter: Disallow return statements inside loops or conditionals
These didn't work correctly, and they're extremely tricky to get right
in the vectorized execution model (vs. structured control flow). As a
side effect, determine the maximum stack depth used for the execution
masking - the same idea will be used for the primary stack in a later
CL. Add a unit test to verify the new restriction, and fix two places
that were relying on this feature before.

In addition, boolean external values need to be masks. I may implement
this in the code-gen at some point, but this is already a fringe
feature, so just fix the one unit test for now.

Change-Id: I9607ffaf67c7795dbf42e4009180aea8f3e65c44
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/226849
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-07-12 16:07:16 +00:00
animations
bench Interpreter: Disallow return statements inside loops or conditionals 2019-07-12 16:07:16 +00:00
bin Add bin/try-clients to trigger client tryjobs 2019-06-11 16:55:53 +00:00
dm Add GrProtected parameter to all createBackendTexture variants 2019-07-01 19:46:18 +00:00
docker fix Dockerfile? 2019-06-24 16:34:59 +00:00
docs/examples PDF example 2019-05-28 17:21:59 +00:00
example ModifierKey unifies sk_app::Window::ModifierKey & Sample::Click::ModifierKey 2019-07-09 16:16:41 +00:00
experimental experimental/tools: set-change-id-hook 2019-07-11 14:07:21 +00:00
fuzz Make fuzzing use embedded test font 2019-06-03 16:29:21 +00:00
gm Revert "Revert "reimpl parts of arctTo using doubles to handle shallow angles"" 2019-07-12 15:29:55 +00:00
gn Revert "Revert "reimpl parts of arctTo using doubles to handle shallow angles"" 2019-07-12 15:29:55 +00:00
include initialize val in SkTHash Slot 2019-07-12 15:44:06 +00:00
infra Roll recipe dependencies (trivial). 2019-07-12 13:50:24 +00:00
modules tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
platform_tools tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
resources [skottie] Motion blur support 2019-07-09 13:02:17 +00:00
samplecode Sample/AAGeometry: stop leaking linked list 2019-07-12 15:06:00 +00:00
site documentation/build, BUILDCONFIG: Visual Studio Build Tools 2019 2019-07-12 14:17:16 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Interpreter: Disallow return statements inside loops or conditionals 2019-07-12 16:07:16 +00:00
tests Interpreter: Disallow return statements inside loops or conditionals 2019-07-12 16:07:16 +00:00
third_party Roll FreeType 2019-07-11 21:16:53 +00:00
tools tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fix Metal includes breaking macOS local builds 2019-07-08 14:02:47 +00:00
BUILD.gn tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/swiftshader 28ae0a4b2810..4cd9767e6565 (2 commits) 2019-07-12 14:38:56 +00:00
go.mod Update Go deps 2019-07-12 13:38:29 +00:00
go.sum Update Go deps 2019-07-12 13:38:29 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py add mtklein to api approvals 2019-04-02 15:16:56 +00:00
public.bzl [skottie] Caching motion tile 2019-07-10 19:13:41 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +00:00

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

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