Bug 109334

Summary: OpenGL-OpenCL interop support
Product: Mesa Reporter: Ivan Molodetskikh <yalterz>
Component: Gallium/StateTracker/CloverAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: pbrobinson
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 99553    

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.