Closed
Milestone

Refactor view transformation pipeline

Summary

High levels of zoom are very taxing on the hardware as we scale the canvas element. This creates relative big dom elements which especially chrome handles very poorly on mobile devices.

Possible solution

Instead of applying view transformation on the dom level we should move them into the render context, i.e. using a view matrix. This should allow us the keep the canvas size static and only render parts of the canvas. Which should remove zoom lag entirely.

Potential problems

This would be a mayor change to how we handle the zoom and page move tool.We need to figure out how to sync the state with the worker to show correct levels in the ui.

  • Work items 2
  • Merge requests 0
  • Participants 0
  • Labels 3
Loading
Loading
Loading
Loading
100% complete
100%
Start date
No start date
None
Due date
No due date
2
Work items 2 New issue
Open: 0 Closed: 2
0
Merge requests 0
Open: 0 Closed: 0 Merged: 0
0
Releases
None
Reference: irp/snip%"Refactor view transformation pipeline"