mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 18:28:12 +02:00
The dumb buffer backing the renderonly_scanout is only destroyed if the refcount reaches zero. If a driver does not correctly initialize the refcount, the refcount may be negative and the buffer will never be freed. Add an assert to ensure that drivers correctly initialize the refcount. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23743> |
||
|---|---|---|
| .. | ||
| renderonly.c | ||
| renderonly.h | ||