Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Comments

output-swapchain: new helper#3197

Draft
emersion wants to merge 2 commits intoswaywm:masterfrom
emersion:output-render
Draft

output-swapchain: new helper#3197
emersion wants to merge 2 commits intoswaywm:masterfrom
emersion:output-render

Conversation

@emersion
Copy link
Member

  • Perform test-only output commits with format modifiers
  • Figure out interactions with wlr_output_damage
  • Figure out if we can use it internally in wlr_output

Closes: #3079

return NULL;
}

manager->renderer = wlr_renderer_autocreate(backend);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the helper "own" the renderer? wlr_backend_get_renderer seems more appropriate for external renderers.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to get rid of wlr_backend_get_renderer eventually, because the backend should be completely separate from the renderer.

This does the same as wlr_output_damage_attach_render except it
doesn't call wlr_output_attach_render.
@emersion
Copy link
Member Author

emersion commented Nov 1, 2021

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3197

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

New output helper to manage buffers and renderer

2 participants