summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2006-04-07 23:11:06 +0000
committerAaron Plattner <aplattner@nvidia.com>2006-04-07 23:11:06 +0000
commitf793182898c4d844e9861a60a945f53ab7071adc (patch)
tree617f70cf2c85b4449e80eb57d7957c5a004d29a8 /src
parentcb6b4073df7404822e2b553519c3a101f2ab0524 (diff)
Add a DrawablePtr argument to the XV functions to pave the way for
redirected video.
Diffstat (limited to 'src')
-rw-r--r--src/nv_video.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nv_video.c b/src/nv_video.c
index 9153112..c35bff0 100644
--- a/src/nv_video.c
+++ b/src/nv_video.c
@@ -80,7 +80,7 @@ static int NVGetBlitPortAttribute(ScrnInfoPtr, Atom ,INT32 *, pointer);
static void NVStopOverlayVideo(ScrnInfoPtr, pointer, Bool);
static void NVStopBlitVideo(ScrnInfoPtr, pointer, Bool);
-static int NVPutImage( ScrnInfoPtr, short, short, short, short, short, short, short, short, int, unsigned char*, short, short, Bool, RegionPtr, pointer);
+static int NVPutImage( ScrnInfoPtr, short, short, short, short, short, short, short, short, int, unsigned char*, short, short, Bool, RegionPtr, pointer, DrawablePtr);
static void NVQueryBestSize(ScrnInfoPtr, Bool, short, short, short, short, unsigned int *, unsigned int *, pointer);
static int NVQueryImageAttributes(ScrnInfoPtr, int, unsigned short *, unsigned short *, int *, int *);
@@ -1004,7 +1004,8 @@ static int NVPutImage
short height,
Bool Sync,
RegionPtr clipBoxes,
- pointer data
+ pointer data,
+ DrawablePtr pDraw
)
{
NVPortPrivPtr pPriv = (NVPortPrivPtr)data;