Beignet OpenCL Starts Working On Mesa GL Sharing

Written by Michael Larabel in Intel on 6 September 2013 at 10:51 AM EDT. 1 Comment
INTEL
Beignet is an OpenCL Intel IvyBridge/Haswell implementation that's developed at Intel and using a new code-base not based upon Mesa/Gallium3D like the other hardware vendors are doing for their open-source GPU compute strategy. The Beignet developers are now working on making it possible to properly share GL buffers with the Intel Mesa driver.

Beignet managed its first open-source Intel OpenCL release earlier in the year but it's taken some heat for not being Mesa/Gallium3D-based but rather its own code-base. Intel still is using a classic Mesa DRI driver and they didn't want to write a GPGPU-only Gallium3D driver where they could then leverage the "Clover" OpenCL state tracker.

While Intel has taken a different approach, Beignet has been making a lot of progress since Intel has several full-time employees working on the open-source code.

As you can see from Beignet on Anzwix, our latest Linux news source, there have been a fair number of interesting commits going into the project recently -- including a number of worthwhile commits this week.

A commit that happened worth pointing out today is enabling GL sharing with a new EGL extension. The work is about having an EGL extension in both Beignet and Mesa so that buffer objects / textures / render-buffers from the Mesa driver can be shared with the OpenCL driver layer from Beignet. While the code is now in Mesa, the new EGL extension isn't yet found in Mesa.

This OpenGL buffer sharing support is being implemented via the cl_khr_gl_sharing extension on the OpenCL side. This new Beignet code is replacing an old "hacky" implementation they had for sharing 2D/3D textures.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week