diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-11 15:06:15 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-11 15:06:15 -0200 |
commit | caac648932df69419b8f86c5793a6b33f5997099 (patch) | |
tree | a6d5f4e934e1c8dc9319edf4802813d47a7d29fc /src/smi_crtc.h | |
parent | 61dd360a30c8e530185bc71b134c287ab1cdde2c (diff) |
Implement an argb cursor using the alpha layer.
The code is <hash>ifdef'ed out by <hash>if SMI_CURSOR_ALPHA_PLANE
because the smi 502 hardware is buggy, but it appears to have worked
for some older hardware revisions (by looking at code available at
ftp.siliconmotion.com.tw).
Keeping it at least for now, as it serves as a simple way to reproduce
the problems described in smi.h.
Diffstat (limited to 'src/smi_crtc.h')
-rw-r--r-- | src/smi_crtc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/smi_crtc.h b/src/smi_crtc.h index 1726255..fcd8345 100644 --- a/src/smi_crtc.h +++ b/src/smi_crtc.h @@ -38,6 +38,9 @@ typedef struct { /* Load the LUT fields above to the hardware */ void (*load_lut)(xf86CrtcPtr crtc); +#if SMI_CURSOR_ALPHA_PLANE + Bool argb_cursor; +#endif } SMICrtcPrivateRec, *SMICrtcPrivatePtr; #define SMICRTC(crtc) ((SMICrtcPrivatePtr)(crtc)->driver_private) |