diff options
author | Eric Anholt <eric@anholt.net> | 2014-04-04 13:12:34 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-08-06 20:12:20 -0700 |
commit | a146c6d4212ed199002e40419b4aa22da8f49e3a (patch) | |
tree | ba155e9ebc5e1bad533f4758ea06ae7a2b62a07e /Xext | |
parent | cb42805c6675bbb9f0b37609fe2ffecc07f46290 (diff) |
xv: Drop the ddQueryAdaptors() interface.
The core was passing pointers to pxvs's nAdaptors and pAdaptors, and
the two hardware implementations were copying pxvs's nAdaptors and
pAdaptors into those pointers.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xvdisp.c | 2 | ||||
-rw-r--r-- | Xext/xvdix.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/Xext/xvdisp.c b/Xext/xvdisp.c index f2d49a2b8..71192b3d9 100644 --- a/Xext/xvdisp.c +++ b/Xext/xvdisp.c @@ -356,8 +356,6 @@ ProcXvQueryAdaptors(ClientPtr client) return Success; } - (*pxvs->ddQueryAdaptors) (pScreen, &pxvs->pAdaptors, &pxvs->nAdaptors); - rep = (xvQueryAdaptorsReply) { .type = X_Reply, .sequenceNumber = client->sequence, diff --git a/Xext/xvdix.h b/Xext/xvdix.h index f62adf883..7afa88a87 100644 --- a/Xext/xvdix.h +++ b/Xext/xvdix.h @@ -214,7 +214,6 @@ typedef struct { DestroyPixmapProcPtr DestroyPixmap; CloseScreenProcPtr CloseScreen; Bool (*ddCloseScreen) (ScreenPtr); - int (*ddQueryAdaptors) (ScreenPtr, XvAdaptorPtr *, int *); DevUnion devPriv; } XvScreenRec, *XvScreenPtr; |