wlroots/backend/drm
Markus Ongyerth 2cdb646531 relases gbm buffers on init
The wlr_drm_surface_init function is called (upon others) when the drm
mode is changed.
When the surface was used previously this replaced the gbm_surface, but
did not replace the gbm buffers (front/back).
With this, wlr_drm_surface_get_from never set up the new buffers with
the new glViewport because surf->front existed.

This frees the buffers to get new buffers on the new surface with the
new viewport.
2018-01-29 11:29:54 +01:00
..
atomic.c Merge pull request #549 from emersion/output-enabled 2018-01-15 20:53:13 -05:00
backend.c Clean up session signal handler on drm init fail 2018-01-24 18:27:53 +01:00
drm.c drm: Use ptrdiff_t instead of intmax_t in format string 2018-01-27 12:29:56 +01:00
legacy.c Fix output enable in DRM backend 2018-01-07 00:28:21 +01:00
properties.c Rename files to remove pointless drm prefix 2017-09-30 19:03:34 +13:00
renderer.c relases gbm buffers on init 2018-01-29 11:29:54 +01:00
util.c style: fix sizeof() calls without parentheses 2017-12-28 16:28:19 +01:00