From f793182898c4d844e9861a60a945f53ab7071adc Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Fri, 7 Apr 2006 23:11:06 +0000 Subject: Add a DrawablePtr argument to the XV functions to pave the way for redirected video. --- ChangeLog | 6 ++++++ src/nv_video.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 42e6d78..4f3c170 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-07 Aaron Plattner + + * src/nv_video.c: (NVPutImage): + Add a DrawablePtr argument to the XV functions to pave the way for + redirected video. + 2006-04-07 Adam Jackson * configure.ac: 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; -- cgit v1.2.3