[Mesa-dev] Mesa (master): gallium-egl: Implement eglQueryWaylandBufferWL

Kristian Høgsberg krh at bitplanet.net
Thu Jul 19 13:11:23 PDT 2012

On Thu, Jul 19, 2012 at 3:26 PM, Kristian Høgsberg <krh at bitplanet.net> wrote:
> On Thu, Jul 19, 2012 at 2:44 PM, Jose Fonseca <jfonseca at vmware.com> wrote:
>> ----- Original Message -----
>>> This commit is causing build failures in several platforms because
>>> EGL_WL_bind_wayland_display is defined everywhere (including
>>> windows), and not just on platforms where wayland-drm.h exists.
> Yes, I see the problem, I'm fixing it now. I'm using the
> wayland_bufmgr that is already in place now, so it should work as well
> as before.
> Kristian

Should be fixed in mesa master now.


>> Actually it is more subtle. On scons + cross mingw it fails as:
>>   Compiling src/gallium/state_trackers/egl/common/egl_g3d_api.c ...
>> src/gallium/state_trackers/egl/common/egl_g3d_api.c:43:25: fatal error: wayland-drm.h: No such file or directory
>> On autoconf on ubuntu64 it fails with:
>> gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../src/egl/wayland/wayland-drm/ -I../../../../include -DHAVE_X11_BACKEND -D_GNU_SOURCE -DPTHREADS -DUSE_X86_64_ASM -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XEXTPROTO_71 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DHAVE_LLVM=0x0301 -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -g -O2  -fPIC  -D_GNU_SOURCE -DPTHREADS -DUSE_X86_64_ASM -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XEXTPROTO_71 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DHAVE_LLVM=0x0301 -fvisibility=hidden common/egl_g3d_api.c -o common/egl_g3d_api.o
>> In file included from common/egl_g3d_api.c:43:0:
>> ../../../../src/egl/wayland/wayland-drm/wayland-drm.h:4:28: fatal error: wayland-server.h: No such file or directory
>> Jose

More information about the mesa-dev mailing list