[Mesa-dev] [PATCH] st/vdpau: avoid sending buffers with 10bit channels to X

2017-01-18 Thread Nayan Deshmukh
PresentPixmap only works if the pixmap depth matches the window depth, otherwise it returns a BadMatch protocol error. Signed-off-by: Nayan Deshmukh --- src/gallium/state_trackers/vdpau/output.c| 6 ++ src/gallium/state_trackers/vdpau/presentation.c | 6 +++--- src/gallium/state_tra

Re: [Mesa-dev] [PATCH] st/vdpau: avoid sending buffers with 10bit channels to X

2017-01-18 Thread Michel Dänzer
On 19/01/17 12:27 AM, Nayan Deshmukh wrote: > PresentPixmap only works if the pixmap depth matches the window > depth, otherwise it returns a BadMatch protocol error. > > Signed-off-by: Nayan Deshmukh > --- > src/gallium/state_trackers/vdpau/output.c| 6 ++ > src/gallium/state_tracke

Re: [Mesa-dev] [PATCH] st/vdpau: avoid sending buffers with 10bit channels to X

2017-01-18 Thread Nayan Deshmukh
On Wed, Jan 18, 2017 at 9:21 PM, Michel Dänzer wrote: > On 19/01/17 12:27 AM, Nayan Deshmukh wrote: >> PresentPixmap only works if the pixmap depth matches the window >> depth, otherwise it returns a BadMatch protocol error. >> >> Signed-off-by: Nayan Deshmukh >> --- >> src/gallium/state_tracker

Re: [Mesa-dev] [PATCH] st/vdpau: avoid sending buffers with 10bit channels to X

2017-01-18 Thread Michel Dänzer
On 19/01/17 02:23 AM, Nayan Deshmukh wrote: > On Wed, Jan 18, 2017 at 9:21 PM, Michel Dänzer wrote: >> On 19/01/17 12:27 AM, Nayan Deshmukh wrote: >>> PresentPixmap only works if the pixmap depth matches the window >>> depth, otherwise it returns a BadMatch protocol error. >>> >>> Signed-off-by: N