[Mesa-stable] Nominate 31908d6a4a3309f4cd4b953d6eecdf41595b1299 for 17.0
Emil Velikov
emil.l.velikov at gmail.com
Fri Feb 3 11:23:34 UTC 2017
On 2 February 2017 at 09:22, Nayan Deshmukh <nayan26deshmukh at gmail.com> wrote:
> Hi Emil,
>
> Please cherry pick the following commit.
>
> commit 31908d6a4a3309f4cd4b953d6eecdf41595b1299
> Author: Nayan Deshmukh <nayan26deshmukh at gmail.com>
> Date: Thu Jan 19 14:59:28 2017 +0530
>
> st/vdpau: only send buffers with B8G8R8A8 format to X
>
> PresentPixmap only works if the pixmap depth matches with the
> window depth, otherwise it returns a BadMatch protocol error.
> Even if the depths match, the result won't look correctly
> if the VDPAU RGB component order doesn't match the X11 one so
> we only allow the X11 format.
> For other buffers we copy them to a buffer which is send to X.
>
> v2: only send buffers with format VDP_RGBA_FORMAT_B8G8R8A8
> v3: reword commit message
> v4: add comment explaining the code
>
> Signed-off-by: Nayan Deshmukh <nayan26deshmukh at gmail.com>
> Reviewed-by: Christian König <christian.koenig at amd.com>
>
> It fixes a regression which causes vlc to show corrupted colors when
> using VDPAU.
>
Added the Bugzilla tag and applied for 17.0.
Thanks
Emil
More information about the mesa-stable
mailing list