@glissade/scene 0.10.0-pre.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -287,6 +287,15 @@ interface NodeProps {
287
287
  * (the cache key folds in the inherited device transform, so a stale CTM can
288
288
  * never blit). OFF by default: a scene that never sets it emits ZERO extra
289
289
  * groups and is byte-identical to before. Best for expensive STATIC subtrees.
290
+ *
291
+ * CAVEAT (when it does NOT help): the key folds in the inherited device
292
+ * transform, so a subtree that itself DRIFTS — e.g. animated on sub-pixel
293
+ * float positions — misses the cache every frame; cache a static subtree
294
+ * under a *moving parent*, not a subtree that moves itself. And a `filter`
295
+ * is a LIVE composite parameter applied on the blit, never baked into the
296
+ * cached bitmap, so `cache:true` on a filter-declaring (e.g. blurred) group
297
+ * does not cache the filter cost. For per-frame-cheap drift, prefer
298
+ * eliminating the work (a cheaper Paint/effect) over caching it.
290
299
  */
291
300
  cache?: boolean;
292
301
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissade/scene",
3
- "version": "0.10.0-pre.1",
3
+ "version": "0.10.0",
4
4
  "description": "glissade scene graph: nodes, transforms, DisplayList emission. Renderer-agnostic; zero DOM/Node dependencies.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "dependencies": {
22
22
  "yoga-layout": "^3.2.1",
23
- "@glissade/core": "0.10.0-pre.1"
23
+ "@glissade/core": "0.10.0"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",