mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
types/wlr_surface: get buffer size from wlr_buffer_import
This commit is contained in:
parent
6d8029b07e
commit
d086501fba
2 changed files with 26 additions and 4 deletions
|
|
@ -35,6 +35,7 @@ struct wlr_surface_state {
|
|||
// overflow.
|
||||
uint32_t seq;
|
||||
|
||||
struct wlr_buffer *buffer;
|
||||
struct wl_resource *buffer_resource;
|
||||
int32_t dx, dy; // relative to previous position
|
||||
pixman_region32_t surface_damage, buffer_damage; // clipped to bounds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue