summaryrefslogtreecommitdiff
path: root/src/mga_video.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2006-04-07 23:09:17 +0000
committerAaron Plattner <aplattner@nvidia.com>2006-04-07 23:09:17 +0000
commitae30dfebbd6883f1a863d193d6c8e971c0dec92b (patch)
tree4479475cdcc8eda624ba969ab94158570afbb89f /src/mga_video.c
parent8bc544169adfed95b11062fe9816ecf31e35b014 (diff)
Add a DrawablePtr argument to the XV functions to pave the way for
redirected video.
Diffstat (limited to 'src/mga_video.c')
-rw-r--r--src/mga_video.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mga_video.c b/src/mga_video.c
index 1021249..1f0e87d 100644
--- a/src/mga_video.c
+++ b/src/mga_video.c
@@ -49,7 +49,7 @@ static void MGAQueryBestSize(ScrnInfoPtr, Bool, short, short, short, short,
unsigned int *, unsigned int *, pointer);
static int MGAPutImage(ScrnInfoPtr, short, short, short, short, short,
short, short, short, int, unsigned char*, short,
- short, Bool, RegionPtr, pointer);
+ short, Bool, RegionPtr, pointer, DrawablePtr);
static int MGAQueryImageAttributes(ScrnInfoPtr, int, unsigned short *,
unsigned short *, int *, int *);
@@ -753,7 +753,8 @@ MGAPutImage(
int id, unsigned char* buf,
short width, short height,
Bool Sync,
- RegionPtr clipBoxes, pointer data
+ RegionPtr clipBoxes, pointer data,
+ DrawablePtr pDraw
){
MGAPtr pMga = MGAPTR(pScrn);
MGAPortPrivPtr pPriv = pMga->portPrivate;