diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2006-04-07 23:09:17 +0000 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2006-04-07 23:09:17 +0000 |
commit | ae30dfebbd6883f1a863d193d6c8e971c0dec92b (patch) | |
tree | 4479475cdcc8eda624ba969ab94158570afbb89f | |
parent | 8bc544169adfed95b11062fe9816ecf31e35b014 (diff) |
Add a DrawablePtr argument to the XV functions to pave the way for
redirected video.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/mga_video.c | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2006-04-07 Aaron Plattner <aplattner@nvidia.com> + + * src/mga_video.c: (MGAPutImage): + Add a DrawablePtr argument to the XV functions to pave the way for + redirected video. + 2006-04-07 Adam Jackson <ajax@freedesktop.org> * configure.ac: 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; |