mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-12 13:29:45 -05:00
surface: drop wlr_surface_state.buffer_resource
Instead, use wlr_surface_state.buffer only.
This commit is contained in:
parent
0978a702d7
commit
ba0525c5c0
5 changed files with 16 additions and 50 deletions
|
|
@ -36,7 +36,6 @@ struct wlr_surface_state {
|
|||
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
|
||||
pixman_region32_t opaque, input;
|
||||
|
|
@ -65,8 +64,6 @@ struct wlr_surface_state {
|
|||
int dst_width, dst_height; // in surface-local coordinates
|
||||
} viewport;
|
||||
|
||||
struct wl_listener buffer_destroy;
|
||||
|
||||
// Number of locks that prevent this surface state from being committed.
|
||||
size_t cached_state_locks;
|
||||
struct wl_list cached_state_link; // wlr_surface.cached
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue