mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend: introduce backend_get_buffer_caps
This commit is contained in:
parent
6ec6527855
commit
144189674e
7 changed files with 53 additions and 0 deletions
13
include/backend/backend.h
Normal file
13
include/backend/backend.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef BACKEND_WLR_BACKEND_H
|
||||
#define BACKEND_WLR_BACKEND_H
|
||||
|
||||
#include <wlr/backend.h>
|
||||
|
||||
/**
|
||||
* Get the supported buffer capabilities.
|
||||
*
|
||||
* This functions returns a bitfield of supported wlr_buffer_cap.
|
||||
*/
|
||||
uint32_t backend_get_buffer_caps(struct wlr_backend *backend);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue