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

backend/wayland: re-use wl_buffers #2538

Merged
merged 1 commit into from Dec 21, 2020

Conversation

emersion
Copy link
Member

@emersion emersion commented Dec 11, 2020

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

Depends on #2498

@emersion emersion mentioned this pull request Dec 11, 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 new frame, re-use
the wl_buffer objects if possible.
@emersion emersion merged commit defcd9b into swaywm:master Dec 21, 2020
@emersion emersion deleted the wayland-reuse-buffers branch December 21, 2020 15:30
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