Go to file
Adrienne Walker 6a280a50ed Expose resetForNextPicture in SkNoDrawCanvas
SkRecorder has some private Skia behavior with the way it handles an
SkNoDrawCanvas that is not exposed.  In particular, it's able to create
an arbitrary SkIRect device clip at construction time.

This is a performance optimization when reusing SkNoDrawCanvas across
multiple recordings instead of reconstructing a new canvas every time.

https://codereview.chromium.org/2768143002 is trying to implement
another version of SkPictureBuilder/SkRecorder and so wants to be able
to use similar SkNoDrawCanvas behavior.

Change-Id: I0ac5f0eef8f0548cefd7354062311667cf448b07
Reviewed-on: https://skia-review.googlesource.com/11320
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-05-02 13:52:09 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "Add a clip mask bench" 2017-05-01 21:34:00 +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 "Revert "Delete copyTo(Allocator), hide copyTo() behind flag"" 2017-04-28 15:49:04 +00:00
example Revert "Revert "Plumb the use of GrBackendRenderTarget throughout Skia"" 2017-05-01 14:14:50 +00:00
experimental Move the ability to access textures, buffers, and image storages out from GrProcessor. 2017-04-04 15:27:44 +00:00
fuzz add drawString helper to canvas 2017-04-28 20:41:04 +00:00
gm Revert "Revert "SaveLayerRec::fClipMask -> raw pointer"" 2017-05-01 21:36:43 +00:00
gn Revert "Add a clip mask bench" 2017-05-01 21:34:00 +00:00
include Expose resetForNextPicture in SkNoDrawCanvas 2017-05-02 13:52:09 +00:00
infra Update Nexus6p to Android O developer release. 2017-05-01 19:54:00 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources SkPngCodec: Do not return kInvalidConversion on corrupt png 2017-04-26 17:43:38 +00:00
samplecode Initial clip-mask-layer support 2017-05-01 14:07:10 +00:00
site Documentation: site/user/api/canvas updated 2017-04-21 14:57:41 +00:00
src Expose resetForNextPicture in SkNoDrawCanvas 2017-05-02 13:52:09 +00:00
tests Revert "Revert "SaveLayerRec::fClipMask -> raw pointer"" 2017-05-01 21:36:43 +00:00
third_party Use system Vulkan headers except when no building with vulkan support 2017-04-25 18:30:37 +00:00
tools colorspaceinfo tool: Add flag to indicate that the input is an icc profile 2017-05-02 13:22:20 +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 Link to vulkan in tools but not library. 2017-04-26 12:50:03 +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 Change PRESUBMIT.py to use [Get|Update]DescriptionLines 2017-04-05 12:49:32 +00:00
public.bzl Remove legacy pixelref flag from bzl 2017-05-02 12:38:25 +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 Testing permissions 2017-04-28 15:12:32 +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.