Go to file
Mike Reed 90e82904b5 Revert "Switch persistent cache to use SkReadBuffer/SkWriteBuffer"
This reverts commit 5fa11d4040.

Reason for revert: breaking some compiles..

https://chromium-swarm.appspot.com/task?id=4cb41acadb936310

Original change's description:
> Switch persistent cache to use SkReadBuffer/SkWriteBuffer
> 
> These are much safer than SkReader32/SkWriter32 (they do validation and
> ensure we never read past the end of the buffer).
> 
> Where we used to just assert that the contents of the cache were valid,
> we now validate everything, and fail gracefully by discarding the cache
> contents if it's corrupted or invalid.
> 
> Bug: skia:9402
> Change-Id: Ib893681f97f9413c28744f11075dc2e392364db6
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/294998
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>

TBR=egdaniel@google.com,jvanverth@google.com,bsalomon@google.com,brianosman@google.com

Change-Id: Iabea26cde82043e3f3a23cde81503ea3abdd8398
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:9402
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295394
Reviewed-by: Mike Reed <reed@google.com>
2020-06-10 00:19:45 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Handle tessellated paths that require more segments than are supported 2020-06-05 15:33:19 +00:00
bin roll GN 2020-04-01 17:02:23 +00:00
build/fuchsia [fuchsia] Always use full name of FIDL libraries. 2020-06-09 23:33:03 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Remove SkBitmapRegionDecoder and SkBRDAllocator 2020-06-01 20:56:29 +00:00
dm Fix caching of GL program binaries 2020-06-05 15:54:19 +00:00
docker Support specifying hash and patch_ref in skia-release & skia-wasm-release Dockerfiles 2020-05-06 20:39:04 +00:00
docs/examples Remove SkSurface::MakeFromBackendTextureAsRenderTarget from public API 2020-05-29 15:09:52 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental [skrive] Initial artboard plumbing 2020-06-09 19:58:38 +00:00
fuzz Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
gm Initial clipShader implementation for SkClipStack and GPU 2020-06-05 20:17:58 +00:00
gn Add an interactive sample that fits cubics to circular arcs 2020-06-09 23:04:03 +00:00
include Auto-resolve DDL targets in flushSurfaces 2020-06-09 20:00:49 +00:00
infra remove -Fast bots 2020-06-09 21:26:01 +00:00
modules Removing fOffsets array from Run; optimizing copyTo 2020-06-09 19:49:36 +00:00
platform_tools remove arcore from apps project directory 2020-06-09 17:46:47 +00:00
resources Runtime effect implementation of color cube filter 2020-05-28 15:45:48 +00:00
samplecode Add an interactive sample that fits cubics to circular arcs 2020-06-09 23:04:03 +00:00
site Fix markdown typo in the style guide 2020-05-29 16:24:57 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Revert "Switch persistent cache to use SkReadBuffer/SkWriteBuffer" 2020-06-10 00:19:45 +00:00
tests Move lastRenderTask into drawing manager 2020-06-08 20:49:16 +00:00
third_party Revert "Reland "Add JavaInputStreamAdaptor files into third_party directory."" 2020-06-09 16:55:29 +00:00
tools Revert "Switch persistent cache to use SkReadBuffer/SkWriteBuffer" 2020-06-10 00:19:45 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixing a bug in SkOpEdgeBuilder::walk that causes pathOps to fail when cubic segment is reducable 2020-04-21 16:56:54 +00:00
BUILD.gn [skrive] Initial artboard plumbing 2020-06-09 19:58:38 +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 Chromium from 734187142549 to 608bc0c55214 (450 revisions) 2020-06-09 04:52:31 +00:00
go.mod Update Go Deps 2020-06-08 05:39:55 +00:00
go.sum Update Go Deps 2020-06-08 05:39:55 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl Remove SkFontHost_mac.cpp. 2020-06-08 22:25:40 +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
RELEASE_NOTES.txt [canvaskit] Make SkCanvas.drawColor/clear take SkColor4f 2020-06-03 16:03:38 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +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.