Bug 109334 - OpenGL-OpenCL interop support
Summary: OpenGL-OpenCL interop support
Status: RESOLVED MOVED
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 99553
  Show dependency treegraph
 
Reported: 2019-01-13 09:04 UTC by Ivan Molodetskikh
Modified: 2019-09-18 18:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.
Comment 2 GitLab Migration User 2019-09-18 18:03:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/146.


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.