-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI: make mesh grid drawing more performant
Replace per-cell result ellipse fabric objects with one single custom fabric object. When the cells are handful pixels large, switch to drawing the results as a rectangle. It does not make a visual difference, but is faster. These changes reduces UI latency to usable levels, when drawing meshes with 100k+ cells in 'RGB' mode. Don't draw the dashed inner lines, when cells are small, to reduce visual clutter.
- Loading branch information
Showing
1 changed file
with
160 additions
and
56 deletions.
There are no files selected for viewing
This file contains 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