[PATCH weston] toytoolkit: fix EGL surface creation for lazy drivers

2015-03-28 Thread Manuel Bachmann
From: Manuel Bachmann Some DRI drivers, including VMware vmwgfx, do not support calling eglQueryString() with a EGL_NO_DISPLAY parameter. Allow toytoolkit to create EGL surfaces with them, by falling back to the old creation method. Signed-off-by: Manuel Bachmann --- shared/platform.h | 5 +++

[PATCH weston] gl-renderer: fix EGL initialization steps

2015-03-28 Thread Manuel Bachmann
From: Manuel Bachmann We should not prevent gl-renderer to initalize if client extensions were not found. Practically, this prevented Weston from running with GL on i915 DRI platforms. Some DRI drivers, including VMware vmwgfx, do not support calling eglQueryString() with a EGL_NO_DISPLAY parame

Re: [Mesa-dev] GL_TEXTURE_2D to wl_buffer

2015-03-28 Thread Jason Ekstrand
On Sat, Mar 28, 2015 at 6:57 AM, x414e54 wrote: > I am attempting to pass a GL_TEXTURE_2D directly to a Wayland compositor by > first converting it so an EGLImageKHR and then to a wl_buffer. > > eglCreateImageKHR appears to work fine but when calling > glCreateWaylandBufferFromImageWL I get EGL_BA