-
-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(borders): use direct2d for anti-aliasing
This commit overhauls the "Komorebi" borders implementation to use Direct2D, which enables anti-aliasing for rounded borders. A lot of the heavy lifting was done by @lukeyou05 in the tacky-borders project, which this commit largely adapts to komorebi. @lukeyou05 provided an incredible amount of guidance and feedback on the implementation of this feature on the komorebi Discord. This commit is a squashed interactive rebase of the following commits: 238271a feat(borders): initial impl of direct2d border drawing 5525a38 feat(borders): avoid multiple render target creation calls 431970d feat(borders): reduce redraws to improve perf 47cb19e feat(borders): remove black pixels around direct2d corners 3857d1a feat(borders): clean up render targets on destroy
- Loading branch information
Showing
3 changed files
with
222 additions
and
93 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
Oops, something went wrong.