skia2/include
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
..
android Move calls to conversion_possible to SkCodec 2017-08-17 16:09:31 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Remove SK_LEGACY_FRAME_INFO_ALPHA_TYPE 2017-09-01 20:18:49 +00:00
config Revert "Revert "SkUserConfig.h: remove out-of-date comment on SK_SFNTLY_SUBSETTER"" 2017-01-27 14:40:01 +00:00
core Extra safety for SkRRect. 2017-09-20 15:24:43 +00:00
effects Revert "Reland "Fix SkImageSource::filterBounds()"" 2017-09-18 20:52:21 +00:00
encode Add comments support for PNG encoder 2017-06-09 17:24:03 +00:00
gpu Disable flat interpolation in TextureOp on Qualcomm 2017-09-15 17:07:33 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
private Use shader based blending to clamp kPlus mode w/F16 2017-09-20 14:28:03 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils Revert "Revert "use unique_ptr for stream api"" 2017-09-16 02:04:23 +00:00
views Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00