summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-24 21:48:13 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:21 +0100
commit9c0f65e08a197d153801f0ea3ee0fb9e85884f44 (patch)
treefc720041757c33ee9f3e240615a3ce8a3678c558 /src/gallium/state_trackers/nine/device9.h
parente7a0f580a6029845b372504388b5b5d2eed2c55b (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9.h')
-rw-r--r--src/gallium/state_trackers/nine/device9.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/device9.h b/src/gallium/state_trackers/nine/device9.h
index 12be643dc2c..d698cee619c 100644
--- a/src/gallium/state_trackers/nine/device9.h
+++ b/src/gallium/state_trackers/nine/device9.h
@@ -112,6 +112,7 @@ struct NineDevice9
POINT pos;
BOOL visible;
boolean software;
+ void *hw_upload_temp;
} cursor;
struct {