mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
render: unify texture format enumeration
Instead of having separate get_shm_texture_formats and get_dmabuf_texture_formats functions, have a single unified get_texture_formats function. This brings the renderer API in line with wlr_backend_impl.
This commit is contained in:
parent
823476e76e
commit
b47535f1a2
12 changed files with 55 additions and 74 deletions
|
|
@ -50,6 +50,6 @@ struct wlr_pixman_texture {
|
|||
|
||||
pixman_format_code_t get_pixman_format_from_drm(uint32_t fmt);
|
||||
uint32_t get_drm_format_from_pixman(pixman_format_code_t fmt);
|
||||
const uint32_t *get_pixman_drm_formats(size_t *len);
|
||||
void init_pixman_formats(struct wlr_pixman_renderer *renderer);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue