diff options
author | Eric Anholt <eric@anholt.net> | 2008-12-05 12:13:26 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-12-05 12:13:26 -0800 |
commit | 261c20a479f6ec1e94c2ba801323072227cc3ade (patch) | |
tree | 61c5b97c43993235f2d7d8d117aadd3558b4f5ee /uxa/uxa-priv.h | |
parent | caecd6031e416705b1f0a7051535211feaebdedd (diff) |
uxa: Add in EnableDisableFBAccess handling like examodule.c did.
This fixes assertion failures when rendering text while VT switched.
Diffstat (limited to 'uxa/uxa-priv.h')
-rw-r--r-- | uxa/uxa-priv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/uxa/uxa-priv.h b/uxa/uxa-priv.h index 13535876..0f9cfbf4 100644 --- a/uxa/uxa-priv.h +++ b/uxa/uxa-priv.h @@ -31,6 +31,7 @@ #else #include <xorg-server.h> #endif +#include "xf86.h" #include "uxa.h" @@ -117,6 +118,7 @@ typedef struct { #define UXA_NUM_GLYPH_CACHES 4 +typedef void (*EnableDisableFBAccessProcPtr)(int, Bool); typedef struct { uxa_driver_t *info; CreateGCProcPtr SavedCreateGC; @@ -135,7 +137,8 @@ typedef struct { TrapezoidsProcPtr SavedTrapezoids; AddTrapsProcPtr SavedAddTraps; #endif - + EnableDisableFBAccessProcPtr SavedEnableDisableFBAccess; + Bool swappedOut; unsigned disableFbCount; unsigned offScreenCounter; |