mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-21 06:46:46 -04:00
wlr_raster: Introduce new abstraction
This commit is contained in:
parent
531f0dfbbc
commit
31bc571e98
5 changed files with 177 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue