Created attachment 118433 [details]
After 'glamor: move GL_OES_EGL_image check next to EGL_EXT_image_dma_buf_import', my screen is corrupted upon login. I've attached a screenshot of what it looks like.
Let me know if you need any more info.
Please attach the corresponding Xorg.0.log file.
Created attachment 118438 [details]
I talked to xexaxo on irc about this a bit, here's some of the information I sent him.
Created attachment 118439 [details]
The problem is that epoxy_has_gl_extension() is called before the context is made current (or even created). Every OpenGL API call requires a current context, including the one for getting the list of supported extensions.
Ouch, did not notice that the eglMakeCurrent call is after the extension checks. A patch can be found here , if it hasn't hit your inbox.
(In reply to Emil Velikov from comment #5)
> Ouch, did not notice that the eglMakeCurrent call is after the extension
> checks. A patch can be found here , if it hasn't hit your inbox.
>  http://patchwork.freedesktop.org/patch/60400/
That fixed it, thanks!
Author: Emil Velikov <firstname.lastname@example.org>
Date: Fri Sep 25 14:04:34 2015 +0100
glamor: move 'dri3_capable' extension checks after eglMakeCurrent