mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render: add wlr_renderer.events.lost
This commit is contained in:
parent
48541d2f2e
commit
31ea61b390
2 changed files with 7 additions and 0 deletions
|
|
@ -26,6 +26,12 @@ struct wlr_fbox;
|
|||
struct wlr_renderer {
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
/**
|
||||
* Emitted when the GPU is lost, e.g. on GPU reset.
|
||||
*
|
||||
* Compositors should destroy the renderer and re-create it.
|
||||
*/
|
||||
struct wl_signal lost;
|
||||
} events;
|
||||
|
||||
// private state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue