Eliminates per-frame WASM allocations for shadows and blurs: - Reusable effectLayerPaint instead of new Paint() per effect - ImageFilter cache keyed by params (drop shadow, blur, decal blur) - Zero allocations during SkPicture recording for cached effects
7 lines
112 B
TypeScript
7 lines
112 B
TypeScript
export {
|
|
getCanvasKit,
|
|
getGpuBackend,
|
|
type CanvasKitOptions,
|
|
type GpuBackend
|
|
} from '@open-pencil/core'
|