diff options
author | Nayan Deshmukh <[email protected]> | 2017-01-19 14:59:28 +0530 |
---|---|---|
committer | Christian König <[email protected]> | 2017-01-19 15:34:02 +0100 |
commit | 31908d6a4a3309f4cd4b953d6eecdf41595b1299 (patch) | |
tree | ab10cdb0153ca3dacde051b5dc1da1cc9a69f140 /src/gtest/.gitignore | |
parent | 3cd092c41508dde2e6259f09df1736911a828548 (diff) |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gtest/.gitignore')
0 files changed, 0 insertions, 0 deletions