[Wayland-bugs] [Bug 92247] weston: black surfaces with mesa 11.0.2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 2 07:43:15 PDT 2015


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

            Bug ID: 92247
           Summary: weston: black surfaces with mesa 11.0.2
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: fourdan at xfce.org

Weston 1.9.0 build with mesa 11.0.2 shows all surfaces as black squares.
Reverting to mesa 11.0.1 works OK.

A bisect revealed that the problem started showing up with this commit in mesa:

    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f15a7f3

Weston uses GL_BGRA_EXT/GL_UNSIGNED_BYTE as format/type for textures and this
is now rejected as invalid by mesa with this commit.

But according to GLES spec 3.0.4, section 3.8 texturing, page 127 (ie page 140
in this pdf https://www.khronos.org/registry/gles/specs/3.0/es_spec_3.0.4.pdf)
there is no indication of neither GL_BGRA or GL_BGRA_EXT being valid, so mesa
seems right to reject it.

Using a valid GL_RGBA/GL_UNSIGNED_BYTE is not rejected but obviously does not
show the right colors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151002/cc49073c/attachment.html>


More information about the wayland-bugs mailing list