Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design rendering interface for C backend #47

Open
sdilts opened this issue Oct 22, 2023 · 1 comment
Open

Design rendering interface for C backend #47

sdilts opened this issue Oct 22, 2023 · 1 comment
Labels
c-backend Issues that relate to the C backend

Comments

@sdilts
Copy link
Collaborator

sdilts commented Oct 22, 2023

There needs to be some kind of interface in the C backend that enables the lisp code to tell it what to render. The two things we should focus on supporting right now is rendering surfaces via wlroots' scene graph API and drawing window borders for focused windows / frames.

@sdilts sdilts added the c-backend Issues that relate to the C backend label Oct 22, 2023
@sdilts
Copy link
Collaborator Author

sdilts commented Oct 26, 2023

The scene graph API has the ability to render wlr_buffers and normal rectangles, so rendering borders can just be done as part of the scene graph manipulation. Although it's more complex than we need right now, Sway's (yet to be merged) usage of this API should give us some hints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-backend Issues that relate to the C backend
Projects
None yet
Development

No branches or pull requests

1 participant