skia2/include
Brian Osman 6fa47769cb In SkRuntimeEffect, use a single shared Compiler instance
I've been increasingly concerned about the CPU and memory costs of
creating and holding on to many Compiler instances. Given that they're
use infrequently, having a shared (guarded) instance seems fine.

We can still look at reducing the startup cost of a single instance, but
this removes a large blocker to wider usage of SkRuntimeEffect.

Change-Id: Ia6dc721c73fdf8c9c4c7a8c1af5f350d2c028b22
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/272466
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-02-21 20:25:04 +00:00
..
android [canvaskit] Create an SkImage from a frame of an SkAnimatedImage 2020-01-09 13:25:43 +00:00
atlastext move SkDeque.h into private 2020-02-18 02:05:08 +00:00
c Small fixes to C API. Add SK_API and fix function signature mismatch. 2019-06-07 01:29:23 +00:00
codec Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +00:00
config rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
core Revert "Move SkDeferredDisplayList.h into include\core" 2020-02-21 18:38:31 +00:00
docs Simplify interface to StructureElementNode. 2020-02-20 21:16:48 +00:00
effects In SkRuntimeEffect, use a single shared Compiler instance 2020-02-21 20:25:04 +00:00
encode Revert "add runtime registration for encoders" 2019-05-15 22:02:39 +00:00
gpu Create D3D device and queue 2020-02-21 19:49:52 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Remove CGFontRef parameter from SkMakeTypefaceFromCTFont 2020-01-31 18:35:10 +00:00
private Revert "Move SkDeferredDisplayList.h into include\core" 2020-02-21 18:38:31 +00:00
svg [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
third_party Roll skia/third_party/skcms ef3043bd8110..64374756e037 (1 commits) 2019-12-11 23:12:09 +00:00
utils rm Sk3D.h -- long live SkMat4 2020-02-20 13:15:33 +00:00