Go to file
Ethan Nicholas 08dae924f6 Fixed a few spots where SkSL optimizer was not respecting side effects
This was affecting expressions such as 0 * float4(<expr>), which would
be collapsed down to float4(0) - in some cases even if <expr> had side
effects. This is obviously incorrect no matter what, but to make matters
worse it could lead to a use-after-free when we eliminated an assignment
which we were tracking as the current definition of a variable.

Bug: skia:7467
Change-Id: I91ba154c57dad9cadf36b6062bec3211557248e0
Reviewed-on: https://skia-review.googlesource.com/98704
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2018-01-23 18:18:37 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench IWYU -- SkShader.h 2018-01-23 18:08:30 +00:00
bin fetch-clang-format: better error checking 2018-01-22 20:33:49 +00:00
debugger Update SkSurface MakeFromBackend* factories to take an SkColorType. 2017-12-19 18:41:36 +00:00
dm Skotty -> Skottie 2018-01-17 14:15:36 +00:00
docs self check and corrections 2018-01-22 14:04:18 +00:00
example Update SkSurface MakeFromBackend* factories to take an SkColorType. 2017-12-19 18:41:36 +00:00
experimental [skottie] Discard orphaned geometry animators 2018-01-23 16:22:38 +00:00
fuzz remove unneeded SkFlattenableSerialization 2018-01-23 18:13:35 +00:00
gm Move more internal methods from GrContext to GrContextPriv (take 3) 2018-01-22 16:53:17 +00:00
gn remove unneeded SkFlattenableSerialization 2018-01-23 18:13:35 +00:00
include Clean up SkScalerContext descriptor creation 2018-01-23 18:13:36 +00:00
infra Blacklist changed skp 2018-01-22 18:24:57 +00:00
platform_tools SkQP: replace blacklist with: DoNotExecuteInExperimentalMode and NoScoreInCompatibilityTestMode 2018-01-22 20:11:57 +00:00
resources Add a GM and images to test SkEncodedOrigin 2018-01-17 16:14:16 +00:00
samplecode remove unneeded SkFlattenableSerialization 2018-01-23 18:13:35 +00:00
site https://skia.org/skqp 2018-01-22 18:42:37 +00:00
src Fixed a few spots where SkSL optimizer was not respecting side effects 2018-01-23 18:18:37 +00:00
tests remove unneeded SkFlattenableSerialization 2018-01-23 18:13:35 +00:00
third_party Update ANGLE's BUILD.gn to include definitions for GL_API. 2018-01-23 00:03:10 +00:00
tools SkQP: add some scripts for admin 2018-01-22 22:28:06 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Ignore generated README.recipes.md 2017-10-26 18:07:27 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Changes to site documentation 2018-01-11 19:47:58 +00:00
BUILD.gn SkQP: replace blacklist with: DoNotExecuteInExperimentalMode and NoScoreInCompatibilityTestMode 2018-01-22 20:11:57 +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 skia/third_party/externals/angle2/ dd21ecf80..d66e19393 (1 commit) 2018-01-23 18:08:32 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07: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 Skip AUTHORS check for Skia service accounts 2018-01-02 18:47:01 +00:00
public.bzl remove SK_SUPPORT_LEGACY_RECTMAKELARGEST flag 2018-01-11 13:11:02 +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 Verify Status is showing new commits. 2018-01-22 22:55:36 +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.