mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
render: switch wlr_renderer to wlr_drm_format_set
This commit is contained in:
parent
c01b81c99c
commit
e42178d03f
7 changed files with 88 additions and 86 deletions
|
|
@ -46,9 +46,8 @@ struct wlr_renderer_impl {
|
|||
struct wl_resource *resource);
|
||||
void (*wl_drm_buffer_get_size)(struct wlr_renderer *renderer,
|
||||
struct wl_resource *buffer, int *width, int *height);
|
||||
int (*get_dmabuf_formats)(struct wlr_renderer *renderer, int **formats);
|
||||
int (*get_dmabuf_modifiers)(struct wlr_renderer *renderer, int format,
|
||||
uint64_t **modifiers);
|
||||
const struct wlr_drm_format_set *(*get_dmabuf_formats)(
|
||||
struct wlr_renderer *renderer);
|
||||
enum wl_shm_format (*preferred_read_format)(struct wlr_renderer *renderer);
|
||||
bool (*read_pixels)(struct wlr_renderer *renderer, enum wl_shm_format fmt,
|
||||
uint32_t *flags, uint32_t stride, uint32_t width, uint32_t height,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue