[Bug 87452] EGL_EXT_image_dma_buf_import too limited on i965

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 17 10:21:19 PST 2015


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

--- Comment #5 from Chad Versace <chad.versace at intel.com> ---
One reason that i965 imposes restrictions on dma_buf-EGLImages is to prevent
bugs due to missing compression resolves and mishandling of image orphaning
rules.

Chrome OS also wants to remove some restrictions. It wants to use the EGLImage
for renderbuffer storage with glEGLImageTargetRenderbufferStorageOES.

I think it's time that we start removing i965's restrictions, but do so
carefully without introducing subtle bugs. To allow
glEGLImageTargetRenderbufferStorageOES with dma_buf-EGLImages, all I think is
needed is that i965 disable allocation of auxillary compression buffers (MCS
and HiZ) for such renderbuffers. To allow glEGLImageTargetTexture2DOES,
auxillary surfaces must be disabled as for renderbuffers. More safeguards are
probably needed for textures to implement orphaning rules, but I can't think of
them off the cuff.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150217/482ec79e/attachment.html>


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