mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Upload texture on surface commit
This commit is contained in:
parent
c39bfe7f84
commit
a6db47196c
3 changed files with 50 additions and 51 deletions
|
|
@ -66,7 +66,6 @@ struct wlr_surface {
|
|||
|
||||
float buffer_to_surface_matrix[16];
|
||||
float surface_to_buffer_matrix[16];
|
||||
bool reupload_buffer;
|
||||
|
||||
struct {
|
||||
struct wl_signal commit;
|
||||
|
|
@ -89,7 +88,6 @@ struct wlr_surface {
|
|||
struct wlr_renderer;
|
||||
struct wlr_surface *wlr_surface_create(struct wl_resource *res,
|
||||
struct wlr_renderer *renderer);
|
||||
void wlr_surface_flush_damage(struct wlr_surface *surface);
|
||||
/**
|
||||
* Gets a matrix you can pass into wlr_render_with_matrix to display this
|
||||
* surface. `matrix` is the output matrix, `projection` is the wlr_output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue