xwayland: Store EGLContext pointer in lastGLContext

We were storing the pointer to struct glamor_context. However, glamor
itself is storing the EGLContext pointer since the commit below. Since
the two values could never be equal, this resulted in constant
superfluous eglMakeCurrent calls. The implicit glFlush triggered by
those couldn't be good for performance.

Fixes: 7c88977d "glamor: Store the actual EGL/GLX context pointer in lastGLContext"
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>


(cherry picked from commit b656b0aa)
3 jobs for xwayland-21.1 in 2 minutes and 27 seconds (queued for 7 seconds)
Status Name Job ID Coverage
  Docker Image
passed debian-buster #15939357

00:00:22

 
  Build And Test
passed meson #15939358

00:01:22

passed meson-noglamor #15939359

00:02:01