mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: check buffer in wlr_output_test
Check that buffer can be scanned out in wlr_output_test instead of wlr_output_attach_buffer. This allows the backend to have access to the whole pending state when performing the check. This brings the wlr_output API more in line with the KMS API. This removes the need for wlr_output_attach_buffer to return a value, and for wlr_output_impl.attach_buffer.
This commit is contained in:
parent
e041158988
commit
6977f3a843
7 changed files with 122 additions and 115 deletions
|
|
@ -128,8 +128,6 @@ struct wlr_drm_connector {
|
|||
struct wl_event_source *retry_pageflip;
|
||||
struct wl_list link;
|
||||
|
||||
// DMA-BUF to be displayed on next commit
|
||||
struct wlr_dmabuf_attributes pending_dmabuf;
|
||||
// Buffer submitted to the kernel but not yet displayed
|
||||
struct wlr_buffer *pending_buffer;
|
||||
struct gbm_bo *pending_bo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue