[Bug 793997] gl: GBM backend fixes

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 22 08:19:38 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793997

--- Comment #9 from Daniel Stone <daniel at fooishbar.org> ---
(In reply to Carlos Rafael Giani from comment #3)
> (In reply to Daniel Stone from comment #1)
> > Daniel Stone 2018-03-02 16:30:35 UTC
> > Firstly, get_{depth,bpp}_from_format are wrong. There is a very very small
> > and fixed depth/bpp -> format mapping inside the kernel, which is pretty
> > much:
> >   * 8/8 -> C8
> >   * 15/16 -> XRGB1555
> >   * 16/16 -> RGB565
> >   * 24/24 -> RGB888
> >   * 24/32 -> XRGB8888
> >   * 30/32 -> XRGB2101010
> >   * 32/32 -> ARGB8888
> > 
> > Anything else will silently be assumed to be XRGB8888.
> 
> Is this also true for RGB332, BGR233, and NV12 ?

Oops. And yes: when you provide depth/bpp to drmModeAddFB, the above is the
complete list of formats which work with it. No other format can be used with
that ioctl.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list