Skip to content

Use the wlroots gles2 renderer instead of our own renderer#179

Draft
ErikReider wants to merge 4 commits intomainfrom
renderer-overhaul
Draft

Use the wlroots gles2 renderer instead of our own renderer#179
ErikReider wants to merge 4 commits intomainfrom
renderer-overhaul

Conversation

@ErikReider
Copy link
Copy Markdown
Member

@ErikReider ErikReider commented Mar 20, 2026

Replaces our renderer with the generic wlroots gles2 renderer while only keeping what we need.

This will allow us to add additional renderers in the future (like vulkan) without soft-forking the entire wlroots rendering logic.

There's one breaking change which is the addition of scenefx_init() which replaces fx_renderer_create()

To test with SwayFX, use this PR

We could go a step further and make the fx_renderer generic like the base wlr_renderer struct, creating a fx_gles2_renderer struct. This would "simplify" the process of adding a new renderer even further.

@ErikReider ErikReider self-assigned this Mar 20, 2026
@ErikReider ErikReider added the enhancement New feature or request label Mar 20, 2026
@WillPower3309
Copy link
Copy Markdown
Member

I'll review what we have so far, but what's pending?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants