From 2e27bf8b7c150987fc6cf6523edf21f9ac921bff Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Tue, 8 Jun 2010 03:28:37 +0200 Subject: st/xorg: Add a customizable option to disable 3D. If no customizer is present, 3D will be enabled by default. Otherwise the option will default to the customizer value. Signed-off-by: Thomas Hellstrom --- src/gallium/state_trackers/xorg/xorg_tracker.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/state_trackers/xorg/xorg_tracker.h') diff --git a/src/gallium/state_trackers/xorg/xorg_tracker.h b/src/gallium/state_trackers/xorg/xorg_tracker.h index 25da9b1a3b..df56ad1b15 100644 --- a/src/gallium/state_trackers/xorg/xorg_tracker.h +++ b/src/gallium/state_trackers/xorg/xorg_tracker.h @@ -76,6 +76,7 @@ typedef struct _CustomizerRec { Bool dirty_throttling; Bool swap_throttling; + Bool no_3d; Bool (*winsys_screen_init)(struct _CustomizerRec *cust, int fd); Bool (*winsys_screen_close)(struct _CustomizerRec *cust); Bool (*winsys_enter_vt)(struct _CustomizerRec *cust); @@ -104,6 +105,7 @@ typedef struct _modesettingRec Bool swapThrottling; Bool dirtyThrottling; CloseScreenProcPtr CloseScreen; + Bool no3D; /* Broken-out options. */ OptionInfoPtr Options; -- cgit v1.2.3