skia2/include
Brian Osman 60751d7a06 Sort all user-supplied rects before computeFastBounds
https://codereview.chromium.org/908353002 fixed drawRect 2+ years ago, but
drawOval and drawArc were still susceptible. This version ensures that all
rects are sorted before we do the bounds check. Added a new makeSorted
helper to simplify the code, and an assert to catch any future oversight.

All other drawing functions compute their bounds rect in some way that
already ensures it is sorted.

Bug: skia:
Change-Id: I8926b2dbe9d496d0876f1ac5313bd058ae4568b7
Reviewed-on: https://skia-review.googlesource.com/16702
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-05-13 22:58:17 +00:00
..
android Let region decoders query the type and color space 2017-04-14 13:59:35 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Switch SkCodec to int for counts and indices 2017-04-17 17:38:35 +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 Sort all user-supplied rects before computeFastBounds 2017-05-13 22:58:17 +00:00
effects void SkColorFilter::onAppendStages(...) 2017-05-09 20:04:44 +00:00
encode SkEncoder base class needs SK_API 2017-05-12 13:21:49 +00:00
gpu Make GrRenderTarget[(Proxy)|(Context)]? advertise a "full scene aa type". 2017-05-12 16:32:57 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports SkFontMgr::matchFamily should not crash on nullptr. 2017-05-01 18:13:02 +00:00
private Switch ImageStorageAccess over to GrTextureProxies 2017-05-12 19:20:22 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils Modify SkEventTracer::SetInstance to fail rather than assert if a tracer has already been installed. 2017-05-12 16:49:07 +00:00
views Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00