Closed linkmauve closed 7 years ago
Hi, any news on this PR?
@chadversary ping?
@fooishbar I'm on vacation this week. I'll review this when I return on Mon 21.
@chadversary ping from after the 21st. :)
@chadversary o/
Feel free to try out the following branch https://github.com/evelikov/waffle/tree/for-upstream/gbm-window_resize
@evelikov Passive ack from me; looks like it should do the trick.
I’ve been using this branch with apitrace yesterday, and it works perfectly, thanks!
A bit overdue, the series has pushed.
This fixes apitrace’s bug #390, which made eglretrace unusable on this platform.
Since gbm has no support for surface resizing, we need to destroy and recreate the
gbm_surface
. This requires tearing down and recreating theEGLSurface
associated with it, which will unbind the currentEGLContext
.I couldn’t find anywhere in Waffle how to retrieve the current
struct wcore_context *
in order to use it withwegl_make_current
, so I had to duplicate this function to take anEGLContext
. Is there any better solution? I’m not satisfied with this implementation at all.Fixes https://github.com/apitrace/apitrace/issues/390