This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 343
Move primary wlr_swapchain handling out of backends #2505
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emersion
force-pushed
the
output-swapchain
branch
from
December 4, 2020 12:15
85825a8
to
2386e1d
Compare
emersion
force-pushed
the
output-swapchain
branch
4 times, most recently
from
December 4, 2020 15:00
193b187
to
f968c5f
Compare
Closed
emersion
force-pushed
the
output-swapchain
branch
8 times, most recently
from
December 25, 2020 11:58
8acd4f5
to
d604740
Compare
emersion
force-pushed
the
output-swapchain
branch
from
January 3, 2021 18:39
2aa8216
to
5b8683c
Compare
emersion
force-pushed
the
output-swapchain
branch
from
January 7, 2021 19:57
5b8683c
to
990af0c
Compare
emersion
force-pushed
the
output-swapchain
branch
from
January 16, 2021 16:14
990af0c
to
16ea81f
Compare
Merged
emersion
force-pushed
the
output-swapchain
branch
from
April 6, 2021 11:30
16ea81f
to
e327f5c
Compare
|
emersion
force-pushed
the
output-swapchain
branch
3 times, most recently
from
April 7, 2021 08:19
3ac7065
to
ac065fa
Compare
This was referenced Apr 28, 2021
5 tasks
emersion
force-pushed
the
output-swapchain
branch
2 times, most recently
from
May 1, 2021 09:41
1e712d5
to
da6cd0e
Compare
emersion
force-pushed
the
output-swapchain
branch
from
June 2, 2021 09:56
da6cd0e
to
e19fd98
Compare
This function returns the set of formats the backend can use for the primary buffer. It can be used to allocate a buffer suitable for scan-out.
Introduce output_pick_format that can be re-used for the primary buffer too.
emersion
force-pushed
the
output-swapchain
branch
from
June 2, 2021 10:20
e19fd98
to
3ece2ca
Compare
If these aren't provided by the backend, allocate a swapchain for the output.
Rely on wlr_output's generic swapchain support instead of creating our own. The headless output now simply keeps a reference to the front buffer and does nothing else.
Rely on wlr_output's generic swapchain handling. We still need a renderer for cursor readback, sadly.
Rely on wlr_output's generic swapchain handling.
emersion
force-pushed
the
output-swapchain
branch
from
June 2, 2021 10:41
3ece2ca
to
7a88d14
Compare
This has been rebased and updated to work with the Pixman renderer. This is ready for review. |
bl4ckb0ne
approved these changes
Jun 2, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Move the allocator/renderer-related code out of backends into the common backend/output code for everything related to the primary buffer. This process shouldn't break any compositor.
The DRM backend has not been migrated yet, because it requires more work.
get_renderer
{attach,rollback}_render
wlr_backend
wlr_output
DRM(done separately: backend/drm: move primary wlr_swapchain handling out of backend #2903)References: #1352
Depends on: #2496Depends on: #2498Depends on: #2495Depends on: #2511Depends on: #2507Depends on: #2561