Go to file
Brian Salomon fb6a789191 Extra safety for SkRRect.
This moves closer to ensuring that all SkRRects are valid. It also checks for validity of deserialized SkRRects and sets the SkRRect to empty if the serialized data is invalid rather than asserting.

It is still possible to use mutators to create invalid SkRRects (e.g. outset() by large number, translate() so that type changes due to fp precision).


Bug: skia:
Change-Id: Ice5f73a020e99739ef4b3ce362181d3dbb35701c
Reviewed-on: https://skia-review.googlesource.com/49220
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2017-09-20 15:24:43 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench re-land of new SkSL precisions 2017-09-18 18:32:13 +00:00
bin add a Win/Clang build bot 2017-07-31 19:53:51 +00:00
debugger Revert "Revert "Revert "Revert "Remove GrBackendRenderTargetDesc in favor of GrBackendRenderTarget."""" 2017-08-31 20:04:12 +00:00
dm Fix SkASSERT for convex paths with DAA 2017-09-07 14:30:01 +00:00
docs missing description for FontMetricFlags 2017-09-15 14:03:53 +00:00
example More iOS Fixes for SkiaSDLExample. 2017-09-05 20:34:55 +00:00
experimental Fix SkSVGDOM length & presentation context scoping 2017-09-09 14:06:28 +00:00
fuzz Fuzz: use SkNullWStream 2017-08-29 17:41:36 +00:00
gm Use shader based blending to clamp kPlus mode w/F16 2017-09-20 14:28:03 +00:00
gn Disable SkJumper assembly in cross builds for now. 2017-09-16 00:28:48 +00:00
include Extra safety for SkRRect. 2017-09-20 15:24:43 +00:00
infra add Mac TSAN Test bots 2017-09-19 18:07:09 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Move lang to list in Android font manager. 2017-08-14 19:29:05 +00:00
samplecode Use shader based blending to clamp kPlus mode w/F16 2017-09-20 14:28:03 +00:00
site missing description for FontMetricFlags 2017-09-15 14:03:53 +00:00
src Extra safety for SkRRect. 2017-09-20 15:24:43 +00:00
tests Extra safety for SkRRect. 2017-09-20 15:24:43 +00:00
third_party libpng: update to 1.6.32, pull using DEPS 2017-09-19 19:33:09 +00:00
tools work on generation of rect, bitmap, matrix markup 2017-09-19 22:04:19 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore clang on windows support 2017-07-31 18:39:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn clean up SK_JUMPER_LEGACY_8BIT 2017-09-15 15:20:53 +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/ 84aa2dcf8..47bf2dc53 (1 commit) 2017-09-20 12:38:13 +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
PRESUBMIT.py Fix behavior of automatically adding 'Cq-Include-Trybots' in presubmit 2017-09-12 18:06:35 +00:00
public.bzl Revert "Revert "try to remove google3 flag"" 2017-09-19 13:46:20 +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 Revert "Whitespace change to test Android autoroller" 2017-09-07 15:25:02 +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.