[Mesa-dev] [PATCH 00/10] EGL Sync extensions

Marek Olšák maraeo at gmail.com
Tue Apr 14 15:19:45 PDT 2015


Hi,

This patch series implements:
- EGL_KHR_fence_sync
- EGL_KHR_wait_sync
- EGL_KHR_cl_event2

These extensions are required by EGL 1.5.

EGL_KHR_fence_sync has piglit tests. The other two don't. EGL_KHR_wait_sync doesn't do anything useful, because no Mesa driver implements the equivalent function from GL_ARB_sync anyway, though at least the driver interface is added.

EGL_KHR_cl_event2 is tricky one. I can't do anything about the fact it's in EGL 1.5. This series implements the extension for interop with clover, though there is also an interface if some drivers want to do it differently. When the first cl_event is imported to EGL, st/dri calls dlsym(RTLD_DEFAULT, ..) to get entrypoints to the OpenCL driver. Not sure if that's the best way.

Please review.

Marek


More information about the mesa-dev mailing list