Pass frame damage to renderer via image struct
parent
040a87836d
commit
698ac6947b
|
@ -24,6 +24,7 @@ struct image {
|
|||
int width, height, stride;
|
||||
uint32_t format;
|
||||
void* pixels;
|
||||
struct pixman_region16* damage;
|
||||
};
|
||||
|
||||
void render_image(struct buffer* dst, const struct image* src, double scale,
|
||||
|
|
|
@ -288,6 +288,7 @@ static void window_transfer_pixels(struct window* w)
|
|||
.stride = vnc_client_get_stride(w->vnc),
|
||||
// TODO: Get the format from the vnc module
|
||||
.format = w->back_buffer->format,
|
||||
.damage = &w->vnc->damage,
|
||||
};
|
||||
|
||||
if (have_egl)
|
||||
|
|
Loading…
Reference in New Issue