Skip to content

Conversation

@ClearAspect
Copy link
Contributor

@ClearAspect ClearAspect commented Nov 13, 2025

Fixes: #9416

Specifically:
iCurrentCursorStyle
iPreviousCursorStyle
iCurrentCursorVisible
iPreviousCursorVisible

Visibility calculated and updated independently from the typical cursor uniform updates to preserve cursor style even when not in the viewport or set to be hidden

I used Claude-Code to initially navigate and gauge an understanding of the rendering system. Otherwise I authored the rest of the PR

@ClearAspect ClearAspect requested a review from a team as a code owner November 13, 2025 05:30
@ClearAspect ClearAspect changed the title renderer: added cursor style and visibility uniforms custom shader: added cursor style and visibility uniforms Nov 13, 2025
@ClearAspect
Copy link
Contributor Author

ClearAspect commented Nov 17, 2025

While I was working on another issue, I just realized I could have also used the surface mailbox to get the cursor style information from the surface renderer state. Seems like that's the better way to do it from my understanding and I'll happily rewrite this.

Specifically:
iCurrentCursorStyle
iPreviousCursorStyle
iCurrentCursorVisible
iPreviousCursorVisible

Visibility calculated and updated independently from the typical cursor
unifrom updates to preserve cursor style even when not in the viewport
or set to be hidden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

custom shader: add cursor shape uniform

1 participant