Go to file
Brian Osman 5626998ac4 SkSL: Reduce default heap usage, improve heap benchmarks
We were always pre-loading the fragment and vertex modules, but deferred
loading all others. Those two take up about 300 KB of heap. Now, all
modules are deferred, so compiler instances that don't need them (like
the one used for runtime effects) are much smaller.

Now that we can get better fine-grained numbers, added two more
benchmarks, to track actual baseline usage, plus the usage in the two
most likely configurations.

Change-Id: Idfbcd52c8afee566ac42ab827c80c940f91c4ad7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/337176
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-11-20 19:17:17 +00:00
animations
bazel bazel baby steps 2020-09-14 15:18:32 +00:00
bench SkSL: Reduce default heap usage, improve heap benchmarks 2020-11-20 19:17:17 +00:00
bin bin/try: automatically set 'git cl issue' when not found 2020-06-25 17:44:01 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Port to ANGLE's GN files 2020-09-11 15:22:34 +00:00
client_utils/android Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
demos.skia.org [canvaskit] Remove Sk from nearly all function/type names. 2020-10-07 21:01:32 +00:00
dm Reland "SkAndroidCodec: Support decoding all frames" 2020-11-16 16:55:48 +00:00
docker [canvaskit,pathkit] Update to emsdk 2.0 2020-08-20 14:55:50 +00:00
docs/examples Only expose isConvex on path publicly. 2020-08-28 16:56:29 +00:00
example Reland "Remove use of legacy display globals." 2020-10-05 19:13:58 +00:00
experimental update debugger wasm makefile 2020-11-19 16:45:10 +00:00
fuzz Move GrShaderCaps from Program::Settings to Compiler 2020-11-04 19:38:33 +00:00
gm Update GrProgramInfo's constructor 2020-11-20 18:22:17 +00:00
gn Reland various cleanups to SkSLMain. 2020-11-20 14:13:43 +00:00
include Revert "Simplify layer bounds syncing and no-device error handling in SkCanvas::internalSaveLayer" 2020-11-20 17:10:58 +00:00
infra [infra] Remove deleted taskdriver 2020-11-19 15:26:38 +00:00
modules Stop cloning builtin functions 2020-11-20 15:02:54 +00:00
platform_tools Skottie perf metric improvements 2020-11-13 19:03:15 +00:00
resources Handle EXIF orientation in SkAnimCodecPlayer 2020-11-12 14:43:47 +00:00
samplecode Pass in the color load op to GrProgramInfo. 2020-11-20 16:29:56 +00:00
site Update docs for iOS deployment 2020-11-19 14:50:28 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src SkSL: Reduce default heap usage, improve heap benchmarks 2020-11-20 19:17:17 +00:00
tests Reland "Remove inliner from IR generation stage." 2020-11-20 18:44:07 +00:00
third_party [canvaskit] Add support for woff2 fonts 2020-11-10 15:07:26 +00:00
tools Enable Mac to build with SK_VULKAN enabled. 2020-11-20 16:32:36 +00:00
.bazelignore bazel baby steps 2020-09-14 15:18:32 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore bazel baby steps 2020-09-14 15:18:32 +00:00
.gn
AUTHORS Fix issues with latest GN 2020-11-07 13:55:45 +00:00
BUILD.bazel bazel baby steps 2020-09-14 15:18:32 +00:00
BUILD.gn Reland "SkAndroidCodec: Support decoding all frames" 2020-11-16 16:55:48 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll ANGLE from 8b76d37f9f9a to 777749aafaac (19 revisions) 2020-11-20 05:19:23 +00:00
go.mod update infra repo 2020-11-19 14:12:32 +00:00
go.sum update infra repo 2020-11-19 14:12:32 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS
PRESUBMIT.py Generate SkSL golden output files from test inputs during the build. 2020-09-14 14:54:12 +00:00
public.bzl Always enable SkSL's ByteCodeGenerator, disable interpreter in Google3 2020-11-18 21:30:45 +00:00
README
README.chromium
RELEASE_NOTES.txt Remove legacy SkImage::MakeFromYUVATextures. 2020-11-20 16:48:16 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +00:00
WORKSPACE.bazel bazel baby steps 2020-09-14 15:18: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.