Go to file
Mike Reed 1eb3fef136 Revert "More SkVertices implementation work"
This reverts commit 14583e11fd.

Reason for revert: leaking

Direct leak of 499104 byte(s) in 2112 object(s) allocated from:
    #0 0x1e195f0 in operator new(unsigned long) (/b/swarm_slave/w/irazbR79/out/Debug/dm+0x1e195f0)
    #1 0x3142b0a in SkVertices::Builder::init(SkCanvas::VertexMode, int, int, SkVertices::Sizes const&) (/b/swarm_slave/w/irazbR79/out/Debug/dm+0x3142b0a)


Original change's description:
> More SkVertices implementation work
> 
> - change virtuals to take const SkVertices*, as we do for TextBobs and Images
> - override onDrawVerticesObject in recording canvases
> - deserialize raw-vertices into SkVertices object
> 
> Possibly a follow-on would intercept the raw-form directly in canvas,
> and remove the virtual, and only support the object form.
> 
> BUG=skia:6366
> 
> Change-Id: I57a932667ccb3b3b004beb802ac3ae6898e3c6e0
> Reviewed-on: https://skia-review.googlesource.com/9633
> Commit-Queue: Mike Reed <reed@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> 

TBR=bsalomon@google.com,reed@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:6366

Change-Id: I40bb7a20698ef6aa0a9ef71a3d6ac4c1473e081c
Reviewed-on: https://skia-review.googlesource.com/9825
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2017-03-17 13:09:52 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Remove budgeted parameter from SkSurface::makeImageSnapshot" 2017-03-16 15:05:04 +00:00
bin bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm Revert "Add color spin test for SkColorSpaceXformCanvas" 2017-03-17 11:52:14 +00:00
example Add the ability to enable/disable GPU path renderers 2017-02-22 20:29:56 +00:00
experimental Add GrRenderTargetContext::resourceProvider & GrResourceProvider::caps 2017-03-14 21:23:44 +00:00
fuzz remove unused VerticesFlags 2017-03-16 20:08:50 +00:00
gm Revert "Add color spin test for SkColorSpaceXformCanvas" 2017-03-17 11:52:14 +00:00
gn Rename GrAADistanceFieldPathRenderer to GrSmallPathRenderer 2017-03-16 13:22:31 +00:00
include Revert "More SkVertices implementation work" 2017-03-17 13:09:52 +00:00
infra Revert "Add color spin test for SkColorSpaceXformCanvas" 2017-03-17 11:52:14 +00:00
platform_tools One-liner fix that allows Viewer to switch between Raster and OpenGL 2017-02-23 22:33:36 +00:00
resources Set a limit on the size for BMP images 2017-02-24 21:25:44 +00:00
samplecode Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
site Documentation: Consistancy 2017-03-14 14:21:49 +00:00
src Revert "More SkVertices implementation work" 2017-03-17 13:09:52 +00:00
tests Revert "Remove GrPipeline from GrDrawOp." 2017-03-16 19:51:55 +00:00
third_party fixed missing dependency in spirv-tools/BUILD.gn 2017-03-16 16:58:48 +00:00
tools Revert "More SkVertices implementation work" 2017-03-17 13:09:52 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore bin/fetch-clang-format 2017-03-08 16:43:49 +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 wired up SPIR-V validator 2017-03-16 14:42:20 +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 wired up SPIR-V validator 2017-03-16 14:42:20 +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 Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
public.bzl Enable Bazel build for ppc and arm. 2017-03-16 23:18:57 +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 Marker for AMD driver update. 2017-03-16 16:16:55 +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.