perf: v3.26.155 手势期临时合成层 + 命中层 SVG 不再每帧变形(修拖动画面滞留/掉帧)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 39s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 39s
This commit is contained in:
1 parent
4ce222a4bd
commit
c80dc7e50a
7 files changed
+30
-7
No files matched your search
@@ -1211,6 +1211,10 @@ body .iwb-history-embedded .iwb-history-item.iwb-history-selected:hover img {
|
||||
巨大的常驻合成层,实测 WebContent graphics 764MB。需要时(低端机拖拽掉帧)可以打开。 */
|
||||
/* v3.26.143:默认不把 world/grid 提升成常驻合成层(参考 infinite-canvas:靠视口裁剪 + rAF 合批)。
|
||||
诊断页的「合成层常驻提升」是显式 opt-in,只在低端机需要时打开。 */
|
||||
/* v3.26.155:手势期间临时把 world 提升为合成层(停手 140ms 撤销)。
|
||||
平移只剩图层位移,不再每帧重栅格化整个世界层 —— 这是「画面滞留 / 拖动掉帧」的主因。 */
|
||||
.iwb-canvas.iwb-gesture .iwb-world { will-change: transform; }
|
||||
.iwb-canvas.iwb-gesture .iwb-edges { pointer-events: none; }
|
||||
.iwb-world { will-change: auto; }
|
||||
:root[data-layers="on"] .iwb-world { will-change: transform; }
|
||||
/* v3.26.137:毛玻璃开关(诊断页)。关掉后所有 backdrop-filter 失效,用于二分 graphics 占用 */
|
||||
|
||||
Reference in new issue
Block a user