Go to file
Cary Clark 9b8b0cee51 fix SkRRect fuzzer assert
fuzzer bug triggers an assert in SkRRect::isValid because
on radius is zero and the other, while small, is not.

The radii are normally both set to zero if one is zero
in SkRRect::setRectRadii. However, subsequently scaleRadii
may set one to zero when normalizing the pair.

Move the clamping code out of setRectRadii so it can be
called from scaleRadii as well.

R=reed@google.com
Bug: skia:
Change-Id: Ib9a86da7212567b2f4b83d99a41cf9ba2c30e9b9
Reviewed-on: https://skia-review.googlesource.com/115701
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Cary Clark <caryclark@google.com>
2018-04-02 15:15:25 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "allow timing in release-with-assert builds" 2018-03-30 16:22:17 +00:00
bin remove fetch-gn dependency on buildtools 2018-02-21 20:42:26 +00:00
debugger Revert "Revert "Revert "Revert "Revert "Revert "Redefine the meaning of sample counts in GPU backend."""""" 2018-02-03 01:59:59 +00:00
dm Remove old method of drawing DDL SKPs from DM (in favor of ViaDDL method) 2018-03-28 17:21:24 +00:00
docs fix a couple of minor surface doc changes 2018-04-02 12:38:05 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [skottie] Clean up SkottieProperties 2018-03-23 18:09:50 +00:00
fuzz Add Encoder fuzzers 2018-03-30 19:31:56 +00:00
gm Revert "Delete GPU alpha clip masks" 2018-03-30 17:03:16 +00:00
gn SkPDF/Clusterator: expose to the light of a unit test 2018-03-29 20:32:15 +00:00
include fix SkRRect fuzzer assert 2018-04-02 15:15:25 +00:00
infra Update SKP version 2018-04-01 07:51:58 +00:00
platform_tools Viewer/Amdroid: universal build, resources in APK 2018-03-06 22:52:10 +00:00
resources Add color fonts. 2018-03-28 20:14:44 +00:00
samplecode ccpr: Various cleanups 2018-03-27 15:38:34 +00:00
site fix a couple of minor surface doc changes 2018-04-02 12:38:05 +00:00
src fix SkRRect fuzzer assert 2018-04-02 15:15:25 +00:00
tests fix for frexp dataflow analysis 2018-04-01 21:29:08 +00:00
third_party Roll FreeType. 2018-03-28 16:06:34 +00:00
tools Update trans limit after zoom changes in viewer 2018-03-28 20:51:44 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore [lottiecap] Moved over from buildbot repo. 2018-03-20 13:25:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Support x86 build with VS 2015 2018-03-19 15:20:35 +00:00
BUILD.gn Add Encoder fuzzers 2018-03-30 19:31:56 +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/ b33972d4a..d104918fd (1 commit) 2018-03-31 00:54:46 +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 Presubmit that modified json files are valid json. 2018-02-12 16:32:12 +00:00
public.bzl Add color fonts. 2018-03-28 20:14:44 +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" 2018-03-31 21:50:37 +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.