st/nine: Handle when cursor stride is not what is expected
authorAxel Davy <axel.davy@ens.fr>
Mon, 24 Oct 2016 19:48:13 +0000 (21:48 +0200)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:21 +0000 (23:44 +0100)
commit9c0f65e08a197d153801f0ea3ee0fb9e85884f44
treefc720041757c33ee9f3e240615a3ce8a3678c558
parente7a0f580a6029845b372504388b5b5d2eed2c55b
st/nine: Handle when cursor stride is not what is expected

SetCursor assumes for now a 32x32 argb cursor with pitch 128.
32x32 argb doesn't have pitch 128 on all hw, thus use a
temporary surface with the correct pitch when needed.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/device9.h