|
|
Sponsor |
xserver/hw/kdrive/src kaapict.c,1.8,1.9 kdrive.h,1.51,1.52: msg#00045freedesktop.xserver.cvs
Committed by: anholt Update of /cvs/xserver/xserver/hw/kdrive/src In directory pdx:/home/anholt/xserver/hw/kdrive/src Modified Files: kaapict.c kdrive.h Log Message: Add new CheckComposite hook. This allows a driver to avoid the migration of pixmaps for a Composite operation if the operation can't be supported. This hook is optional. Index: kaapict.c =================================================================== RCS file: /cvs/xserver/xserver/hw/kdrive/src/kaapict.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- a/kaapict.c 9 Jan 2004 08:40:32 -0000 1.8 +++ b/kaapict.c 17 May 2004 07:14:23 -0000 1.9 @@ -426,6 +426,11 @@ width, height)) return 1; + if (pKaaScr->info->CheckComposite && + !(*pKaaScr->info->CheckComposite) (op, pSrc, pMask, pDst)) + { + return -1; + } if (pSrc->pDrawable->type == DRAWABLE_PIXMAP) kaaPixmapUseScreen ((PixmapPtr) pSrc->pDrawable); Index: kdrive.h =================================================================== RCS file: /cvs/xserver/xserver/hw/kdrive/src/kdrive.h,v retrieving revision 1.51 retrieving revision 1.52 diff -u -d -r1.51 -r1.52 --- a/kdrive.h 14 May 2004 00:34:28 -0000 1.51 +++ b/kdrive.h 17 May 2004 07:14:23 -0000 1.52 @@ -348,6 +348,10 @@ int height); void (*DoneBlend) (void); + Bool (*CheckComposite) (int op, + PicturePtr pSrcPicture, + PicturePtr pMaskPicture, + PicturePtr pDstPicture); Bool (*PrepareComposite) (int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | xserver ChangeLog,3.174,3.175, Eric Anholt |
|---|---|
| Next by Date: | xserver ChangeLog,3.175,3.176, Eric Anholt |
| Previous by Thread: | xserver ChangeLog,3.174,3.175, Eric Anholt |
| Next by Thread: | xserver ChangeLog,3.175,3.176, Eric Anholt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|