[Bug 111279] Feature request: support GL_EXT_memory_object

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 1 21:04:38 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111279

            Bug ID: 111279
           Summary: Feature request: support GL_EXT_memory_object
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Drivers/DRI/i965
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: haagch at frickel.club
        QA Contact: intel-3d-bugs at lists.freedesktop.org

... and of course GL_EXT_memory_object_fd.

This extension allows efficiently sharing texture data between OpenGL and
Vulkan.

At Collabora we have two projects that make use of this extension.

The Monado OpenXR runtime uses the GL_EXT_memory_object OpenGL extension to
enable OpenGL VR applications to submit frames to Monado's VR compositor which
uses Vulkan.

xrdesktop uses the OpenGL extension to share OpenGL textures rendered by a
window manager like kwin or gnome-shell with Vulkan textures that are either
used by xrdesktop's internal scene renderer, or sent to a VR runtime.


>From Valve there is also SteamVR relying on this extension to support running
OpenGL VR applications efficiently.
When this extension is not available, SteamVR implements a fallback where
OpenGL textures are downloaded to system ram and then uploaded to VRAM again
with Vulkan, however this fallback is far too slow for practical use.


Monado and xrdesktop do not implement such a fallback and as a consequence do
not work on Intel graphics.


While this OpenGL extension is currently used for mostly VR, it can be useful
for any use case where IPC with OpenGL and Vulkan is required. For example
Firefox may use it to speed up the IPC between tab process that render GL
textures with the rendering process.


This feature request also covers iris.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190801/8b1e089b/attachment.html>


More information about the intel-3d-bugs mailing list