-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(BrushTool, drawBrush): Delete unused brush pixelData. Fix render…
…ing flicker. Now when you erase pixels from a pixelData mask, the pixelData memory is freed up if you erase the last pixel of that mask on the slice. This is also makes it easier for tools like dcmjs to just hoover up all the slices that have non-blank masks on them. Secondly I fixed a small flicker edge case with the brush imageBitmapCache.
- Loading branch information
James Petts
committed
Mar 15, 2019
1 parent
7c38bec
commit 8019326
Showing
2 changed files
with
38 additions
and
20 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
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