scenefx icon indicating copy to clipboard operation
scenefx copied to clipboard

Move internal corner rendering to separate shader

Open WillPower3309 opened this issue 1 year ago • 4 comments

We can get some minor perf improvements by clipping the entire window box from our decoration node rendering, and then render the four corners of the windows with the decoration blend shaders

WillPower3309 avatar Oct 26 '24 04:10 WillPower3309

We could move external corner rounding to a separate shader as well! This is coupled with #72

WillPower3309 avatar Nov 01 '24 19:11 WillPower3309

Can we close this as well?

ErikReider avatar Jan 24 '25 14:01 ErikReider

Not yet, I want to play with this first :) I have some optimization ideas

WillPower3309 avatar Jan 24 '25 23:01 WillPower3309

Not yet, I want to play with this first :) I have some optimization ideas

Sort of a two step approach, where we render the internal corners in a separate step so we can take that perf hit of accounting for those corners in a smaller region

WillPower3309 avatar Jan 24 '25 23:01 WillPower3309