wlr_raster: Introduce new abstraction

This commit is contained in:
Alexander Orzechowski 2022-06-28 13:10:23 -04:00
parent 531f0dfbbc
commit 31bc571e98
5 changed files with 177 additions and 1 deletions

View file

@ -13,6 +13,7 @@
#include <stdint.h>
#include <wayland-server-core.h>
#include <wlr/render/dmabuf.h>
#include <wlr/types/wlr_raster.h>
struct wlr_buffer;
struct wlr_renderer;
@ -21,6 +22,9 @@ struct wlr_texture_impl;
struct wlr_texture {
const struct wlr_texture_impl *impl;
uint32_t width, height;
struct wlr_raster *raster;
struct wl_list link;
};
/**