summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86Privstr.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-02-28 13:19:00 -0500
committerAdam Jackson <ajax@redhat.com>2017-03-17 15:14:38 -0400
commite33be78e2ab63abc84aa0baddff90bcefa9c183a (patch)
treec11e4d890de48c8fd2b3bd0ae328d98e85848f56 /hw/xfree86/common/xf86Privstr.h
parent83c4297d2c4fd501a9d36bc0cb7d357a8d22394c (diff)
xfree86: Remove 24bpp pixmap format support (v2)
There's really no reason to pretend to support this, apps hate it, all we're doing is giving people a way to injure themselves. It doesn't work anyway with any Radeon, any NVIDIA chip, or any Intel chip since i810. Rip out all the logic for handling 24bpp pixmaps and framebuffers, and silently ignore the old options that would ask for it. The cirrus alpine driver has been updated to default to 16bpp, and both it and the i810 driver can now use the 32->24 conversion code in shadow if they want. All other drivers support 32bpp. Configurations that explicitly request 24bpp in order to fit in VRAM will be broken now though. v2: Fix command line options to silently ignore 24bpp rather than fail Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xfree86/common/xf86Privstr.h')
-rw-r--r--hw/xfree86/common/xf86Privstr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86Privstr.h b/hw/xfree86/common/xf86Privstr.h
index c29b3ccc8..bb8f3ab68 100644
--- a/hw/xfree86/common/xf86Privstr.h
+++ b/hw/xfree86/common/xf86Privstr.h
@@ -81,8 +81,6 @@ typedef struct {
* changed */
Bool miscModInDevAllowNonLocal;
Bool useSIGIO; /* Use SIGIO for handling DRI1 swaps */
- Pix24Flags pixmap24;
- MessageType pix24From;
Bool pmFlag;
Bool disableRandR;
MessageType randRFrom;