Hi Johan, On 24 April 2018 at 09:44, Johan Helsing <johan.hels...@qt.io> wrote: > If the call to dri_destroy_buffer is delayed until the next eglMakeCurrent, > that would also solve the problem (I'm not sure how that would affect other > things, though).
It _must_ be: If the EGL surface surface is not current to any thread, eglDestroySurface destroys it immediately. Otherwise, surface is destroyed when it becomes not current to any thread. Cheers, Daniel _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev