Repository navigation
feat(wallet-card): OffscreenCanvas Worker + 摩擦力优化 - #137
Merged
Merged
Conversation
- 迁移 hologram 渲染到 OffscreenCanvas Worker - 引入逻辑坐标系统实现完美对称 - 优先级调度:high=60fps/全DPR, medium=30fps/1x, low=15fps/0.5x - 页面可见性 API:切换标签页暂停渲染 - 静态模式缓存:mode=static 只渲染一次 - 动态刷新:状态无变化时跳过渲染 - 摩擦力系统:3s 低运动后冻结,过滤桌面微振
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动概述
将 HologramCanvas 渲染迁移到 OffscreenCanvas Worker,实现多卡片优先级调度和多项性能优化。
主要改动
1. OffscreenCanvas Worker 架构
refraction/模块:types, renderer, worker, scheduler, hologram-canvas2. 逻辑坐标系统
3. 优先级调度
4. 性能优化
测试