diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2010-06-08 03:28:37 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2010-06-09 07:40:07 +0200 |
commit | 2e27bf8b7c150987fc6cf6523edf21f9ac921bff (patch) | |
tree | 3f6b338cd025f753aaac10370043fe6d3926f658 /src/gallium/state_trackers/xorg/xorg_tracker.h | |
parent | ebd98b3496d750a6595382e75267361d2b1e47e2 (diff) |
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 <thellstrom@vmware.com>
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_tracker.h')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_tracker.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |