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

backend/x11: re-use pixmaps #2539

Merged
merged 2 commits into from
Dec 21, 2020
Merged

Conversation

emersion
Copy link
Member

@emersion emersion commented Dec 12, 2020

Instead of re-importing a buffer each time we submit a frame, re-use the
pixmaps if possible.

Depends on #2495

@emersion emersion marked this pull request as draft December 12, 2020 12:16
@emersion emersion mentioned this pull request Dec 12, 2020
3 tasks
@emersion emersion marked this pull request as ready for review December 13, 2020 11:17
Instead of re-importing a buffer each time we submit a frame, re-use the
pixmaps if possible.
@emersion emersion merged commit 55b02f7 into swaywm:master Dec 21, 2020
@emersion emersion deleted the x11-reuse-buffers branch December 21, 2020 15:31
emersion added a commit to emersion/wlroots that referenced this pull request Dec 22, 2020
Instead of importing buffers to GBM and KMS at each frame, cache them
and re-use them while the wlr_buffer is alive.

This is the same as [1] and [2] but for the DRM backend.

[1]: swaywm#2538
[2]: swaywm#2539
emersion added a commit to emersion/wlroots that referenced this pull request Dec 22, 2020
Instead of importing buffers to GBM and KMS at each frame, cache them
and re-use them while the wlr_buffer is alive.

This is the same as [1] and [2] but for the DRM backend.

[1]: swaywm#2538
[2]: swaywm#2539
emersion added a commit to emersion/wlroots that referenced this pull request Jan 10, 2021
Instead of importing buffers to GBM and KMS at each frame, cache them
and re-use them while the wlr_buffer is alive.

This is the same as [1] and [2] but for the DRM backend.

[1]: swaywm#2538
[2]: swaywm#2539
emersion added a commit that referenced this pull request Jan 10, 2021
Instead of importing buffers to GBM and KMS at each frame, cache them
and re-use them while the wlr_buffer is alive.

This is the same as [1] and [2] but for the DRM backend.

[1]: #2538
[2]: #2539
BrassyPanache pushed a commit to BrassyPanache/wlroots that referenced this pull request Jan 12, 2021
Instead of importing buffers to GBM and KMS at each frame, cache them
and re-use them while the wlr_buffer is alive.

This is the same as [1] and [2] but for the DRM backend.

[1]: swaywm#2538
[2]: swaywm#2539
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.

None yet

1 participant