[Bug 111140] Buffer corruption with Chromium on gnome-shell (wayland) after taking a screenshot

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 16 15:14:16 UTC 2019


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

--- Comment #8 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
So looking at the way mutter bind the dmabuf shared with chromium to a 2D
texture, it does so through cogl_egl_texture_2d_new_from_image().
That function seems to rely on GL_OES_EGL_image_external extension :
https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import.txt

The extension has this bit in the spec :


    There is no support for most of the functions that manipulate
    other texture targets (e.g. you cannot use gl*Tex*Image*() functions with
    TEXTURE_EXTERNAL_OES).

That makes me think what mutter is doing is illegal.

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


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