diff options
author | Eric Anholt <eric@anholt.net> | 2014-04-04 17:54:58 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-08-06 20:12:20 -0700 |
commit | e7dde86f2343832c52ef74f5c4fe44a72054c79b (patch) | |
tree | 1b0b129c927b3b68464bc52e81f3a6d492e60284 /Xext | |
parent | a146c6d4212ed199002e40419b4aa22da8f49e3a (diff) |
xv: Move the DDX XV screen private allocation into the DDXes.
XV was going against convention by having the core infrastructure
allocate the private on behalf of the DDX. I was interested in this
because I was trying to make multiple pieces of DDX be able to
allocate adaptors, and that wasn't going to work if DDX-specific code
was hung off of a single global screen private.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xvdix.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Xext/xvdix.h b/Xext/xvdix.h index 7afa88a87..2437eb4a6 100644 --- a/Xext/xvdix.h +++ b/Xext/xvdix.h @@ -214,7 +214,6 @@ typedef struct { DestroyPixmapProcPtr DestroyPixmap; CloseScreenProcPtr CloseScreen; Bool (*ddCloseScreen) (ScreenPtr); - DevUnion devPriv; } XvScreenRec, *XvScreenPtr; #define SCREEN_PROLOGUE(pScreen, field) ((pScreen)->field = ((XvScreenPtr) \ |