Go to file
Hal Canary 6fee59b514 SkStream: DynamicMemoryWStream gets writeToAndReset
This is similar to copyToAndReset().

Also use this in SkPDF, for minor memory savings:
Single-threaded DM's peak RSS drops from 239MB
to 228MB.

Change-Id: I352a980e6dd54eb05d74cd057bd50e02312753b0
Reviewed-on: https://skia-review.googlesource.com/17714
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2017-05-24 19:49:35 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench SkSTArenaAlloc 2017-05-24 19:20:45 +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 SkRasterPipeline in SkArenaAlloc 2017-05-24 14:54:15 +00:00
example Revert "Revert "Plumb the use of GrBackendRenderTarget throughout Skia"" 2017-05-01 14:14:50 +00:00
experimental SkCanvas: Helpers for draw{Point,Line,Circle} 2017-05-16 12:59:11 +00:00
fuzz move files out of private, and fix up callers to IWYU 2017-05-16 21:29:03 +00:00
gm SkSTArenaAlloc 2017-05-24 19:20:45 +00:00
gn Add Material Design shadow reference sample 2017-05-23 18:12:15 +00:00
include SkStream: DynamicMemoryWStream gets writeToAndReset 2017-05-24 19:49:35 +00:00
infra also run srgb config on SK_FORCE_RASTER_PIPELINE_BLITTER bot 2017-05-24 18:30:45 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Add ship.png for DrawShip sample 2017-05-23 20:35:17 +00:00
samplecode Add cumulative fps to SampleApp 2017-05-24 15:38:17 +00:00
site Update documentation to specify the new Gerrit style CQ keywords 2017-05-23 20:28:54 +00:00
src SkStream: DynamicMemoryWStream gets writeToAndReset 2017-05-24 19:49:35 +00:00
tests SkSTArenaAlloc 2017-05-24 19:20:45 +00:00
third_party Mark SkGifImageReader destructors with override 2017-05-24 12:56:00 +00:00
tools Remove compressed (ETC1) texture support from Ganesh (take 2) 2017-05-23 12:45:21 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore Refactor Vulkan support to support Fuchsia 2017-04-05 17:32:09 +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 Remove compressed (ETC1) texture support from Ganesh (take 2) 2017-05-23 12:45:21 +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 Update build tools to newer gn. 2017-03-17 17:38:58 +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 Use Gerrit style format for footers in Presubmit 2017-05-23 20:44:36 +00:00
public.bzl Temporarily use default webp encode method for bzl 2017-05-19 17:20:23 +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 Win AMD driver update. 2017-05-22 17:21:14 +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.