Skip to content

Commit 516fa5f

Browse files
committed
refactor: update image data caching mechanism in CameraViewRenderer
- Changed imageDataCache type from ImageData to Uint8ClampedArray for improved performance. - Introduced cachedImageData to hold ImageData instances for rendering. - Updated logic to invalidate caches when processing dimensions change. - Modified updateImageCache method to handle new caching strategy. - Adjusted getCachedImage method to return cachedImageData correctly.
1 parent 63169e6 commit 516fa5f

5 files changed

Lines changed: 44 additions & 22 deletions

File tree

dist/src/io/CameraViewRenderer.js

Lines changed: 18 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)