Skip to content
Commit 07734a25 authored by Philipp Zabel's avatar Philipp Zabel Committed by Daniel Stone
Browse files

pixman-renderer: hold a reference for renderbuffers on the output state list



Now that struct weston_renderbuffer is refcounted, hold a reference for
renderbuffers on the pixman_output_state::renderbuffer_list. This allows
backends to destroy the renderer output state and release renderbuffer
references in any order without running into an assert().

To avoid breaking resizing, We also have to drop the renderbuffer list
during pixman_renderer_resize_output(). The backends have to create new
renderbuffers afterwards.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 2acd2c74
Loading
Loading
Loading
Pipeline #820875 passed with stages
in 1 minute and 43 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment