Bug 109334 - OpenGL-OpenCL interop support
Summary: OpenGL-OpenCL interop support
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Gallium/StateTracker/Clover (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
Depends on:
Blocks: 99553
  Show dependency treegraph
Reported: 2019-01-13 09:04 UTC by Ivan Molodetskikh
Modified: 2019-01-23 04:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Molodetskikh 2019-01-13 09:04:23 UTC
OpenGL-OpenCL interop, which as far as I understand is governed by the cl_khr_gl_sharing [1, 2] extension, allows applications to use OpenGL buffer, texture and renderbuffer objects as OpenCL memory objects.

I use it in a video capturing utility to perform OpenCL-accelerated color conversions of OpenGL textures. Looks like it's not supported by Mesa's OpenCL implementation.

I'm not at all familiar with the Mesa codebase so I'm not sure how much effort supporting this would require.

[1]: https://www.khronos.org/registry/OpenCL/extensions/khr/cl_khr_gl_sharing.txt
[2]: https://www.khronos.org/registry/OpenCL/sdk/1.2/docs/man/xhtml/cl_khr_gl_sharing.html
Comment 1 Tapani Pälli 2019-01-14 06:51:58 UTC
Just wanted to note that we are also missing EGL_KHR_cl_event2, AFAIK this is the only missing bit from promoting our EGL to 1.5.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.