Go to file
Adrienne Walker d6b28f7bc8 Don't validate() in ~SkPathRef
If an SkPathRef is constructed from arbitrary memory, it might not be
valid.  However, any SkPathRef should be able to be destroyed cleanly.

An alternative to this would be to have CreateFromBuffer always do
the validation (even in release builds), return null for invalid ones,
and do the cleanup itself, but this seems like extra complication and
maybe not something general release builds want.

Bug: chromium: 752755
Change-Id: I1d509a5d5d0b173c20162ff79d731d6c8b4b6fb4
Reviewed-on: https://skia-review.googlesource.com/37321
Commit-Queue: Adrienne Walker <enne@chromium.org>
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2017-08-22 21:13:07 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Switched highp float to highfloat and mediump float to half." 2017-08-17 15:08:17 +00:00
bin add a Win/Clang build bot 2017-07-31 19:53:51 +00:00
debugger Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
dm Plumb GrContextOptions to GPU sinks in DM 2017-08-21 23:07:08 +00:00
docs fix links and missing constructor 2017-08-04 17:25:24 +00:00
example Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
experimental Add Make[backend] calls for creating GrContexts 2017-07-25 14:33:03 +00:00
fuzz Switch SkSL to std::string 2017-08-14 21:24:55 +00:00
gm Fix artifacts on tiny stroked paths scaled up a lot. 2017-08-22 18:54:37 +00:00
gn Add SK_API to SkOverdrawCanvas and SkOverdrawColorFilter. 2017-08-18 16:53:49 +00:00
include Call initializeColorXform inside SkCodec 2017-08-18 19:46:59 +00:00
infra Update SKP version 2017-08-20 07:49:32 +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 Replace SkFAIL with SK_ABORT. 2017-08-16 15:37:54 +00:00
site Remove examples of now removed SkArcToPathEffect. 2017-08-16 18:38:15 +00:00
src Don't validate() in ~SkPathRef 2017-08-22 21:13:07 +00:00
tests GrTessellator: when sanitizing contours, remove non-finite points. 2017-08-22 18:38:37 +00:00
third_party Make haveDecodedRow return void 2017-08-22 19:36:48 +00:00
tools Add "none" option for --pr, to force software path renderer 2017-08-22 17:13:37 +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 Reland "skia: add heif decoding support" 2017-08-18 14:40:29 +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/ 61bd99946..5e424faef (1 commit) 2017-08-22 18:25:18 +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 Update CQ extra trybots after switch to Debian 2017-06-29 19:35:40 +00:00
public.bzl remove SK_SUPPORT_LEGACY_LOCAL_ROTATE_SHADER -- see what breaks 2017-08-21 16:41:26 +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 "Revert "Make GrAtlasTextOp a non-legacy GrMeshDrawOp"" 2017-07-19 12:17:34 +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.