Skip to content

gbm: make gbm_surface resizeable

Max Verevkin requested to merge MaxVerevkin/mesa:gbm_surface_resize into main

Previously in order to resize a surface one had to destroy EGLSurface and gbm_surface, release EGL context, create new gbm_surface and EGLSurface, and finally activate EGL context again.

With this patch all that needs to be done is calling gbm_surface_resize.

Merge request reports