mesa/src/egl/drivers/dri2
Nicolai Hähnle f1a3648784 threads: update for late C11 changes
C11 threads were changed to use struct timespec instead of xtime, and
thrd_sleep got a second argument.

See http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1554.htm and
http://en.cppreference.com/w/c/thread/{thrd_sleep,cnd_timedwait,mtx_timedlock}

Note that cnd_timedwait is spec'd to be relative to TIME_UTC / CLOCK_REALTIME.

v2: Fix Windows build errors. Tested with a default Appveyor config
    that uses Visual Studio 2013. Judging from Brian's email and
    random internet sources, Visual Studio 2015 does have timespec
    and timespec_get, hence the _MSC_VER-based guard which I have
    not tested.

Cc: Jose Fonseca <jfonseca@vmware.com>
Cc: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
2017-11-09 11:57:22 +01:00
..
.gitignore egl/wayland: Use linux-dmabuf interface for buffers 2017-07-18 22:16:21 +01:00
egl_dri2.c threads: update for late C11 changes 2017-11-09 11:57:22 +01:00
egl_dri2.h egl: Implement EGL_KHR_context_flush_control 2017-11-06 16:09:03 -05:00
egl_dri2_fallbacks.h egl/dri2: Implement swapInterval fallback in a conformant way (v2) 2017-09-27 11:35:47 +02:00
platform_android.c egl/android: add a note about .swap_buffers_with_damage 2017-11-08 14:42:12 +00:00
platform_drm.c egl/dri2: Implement swapInterval fallback in a conformant way (v2) 2017-09-27 11:35:47 +02:00
platform_surfaceless.c egl: set UseFallback if LIBGL_ALWAYS_SOFTWARE is set 2017-10-18 17:25:41 +01:00
platform_wayland.c egl: set UseFallback if LIBGL_ALWAYS_SOFTWARE is set 2017-10-18 17:25:41 +01:00
platform_x11.c egl: set UseFallback if LIBGL_ALWAYS_SOFTWARE is set 2017-10-18 17:25:41 +01:00
platform_x11_dri3.c egl/dri: remove old left-overs 2017-10-10 13:58:47 +02:00
platform_x11_dri3.h egl: Wrap dri3 surface primitive around dri2 egl surface 2017-09-19 12:12:25 +01:00