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
24 lines
517 B
JSON
24 lines
517 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"opener:default",
|
|
"dialog:default",
|
|
"dialog:allow-save",
|
|
"dialog:allow-open",
|
|
{
|
|
"identifier": "fs:allow-read-file",
|
|
"allow": [{ "path": "**" }]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-write-file",
|
|
"allow": [{ "path": "**" }]
|
|
},
|
|
"fs:allow-watch",
|
|
"fs:allow-unwatch"
|
|
]
|
|
}
|