|
|
Sponsor |
xserver/include regionstr.h,1.10,1.11 extnsionst.h,3.10,3.11: msg#00077freedesktop.xserver.cvs
Committed by: daniel Update of /cvs/xserver/xserver/include In directory pdx:/tmp/cvs-serv9886/include Modified Files: regionstr.h extnsionst.h Log Message: configure.ac: I'm trying to unbreak the build; whether I manage to do so or not this time is anyone's guess. include/{regionstr,extnsionst}.h: Drag in a couple of minor changes from XFree86 (add some macros and structs). Index: regionstr.h =================================================================== RCS file: /cvs/xserver/xserver/include/regionstr.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- a/regionstr.h 11 Sep 2003 05:12:51 -0000 1.10 +++ b/regionstr.h 9 Mar 2004 12:41:18 -0000 1.11 @@ -288,6 +288,13 @@ (_pReg)->data = &miEmptyData; \ } +#define REGION_NULL(_pScreen, _pReg) \ +{ \ + REGION_UNINIT(_pScreen, _pReg); \ + (_pReg)->extents = miEmptyBox; \ + (_pReg)->data = &miEmptyData; \ +} + #define REGION_EXTENTS(_pScreen, _pReg) \ &(_pReg)->extents @@ -295,6 +302,11 @@ #endif /* NEED_SCREEN_REGIONS */ +#ifndef REGION_NULL +#define REGION_NULL(_pScreen, _pReg) \ + REGION_INIT(_pScreen, _pReg, NullBox, 1) +#endif + /* moved from mi.h */ extern RegionPtr miRegionCreate( Index: extnsionst.h =================================================================== RCS file: /cvs/xserver/xserver/include/extnsionst.h,v retrieving revision 3.10 retrieving revision 3.11 diff -u -d -r3.10 -r3.11 --- a/extnsionst.h 2 Nov 2003 19:56:10 -0000 3.10 +++ b/extnsionst.h 9 Mar 2004 12:41:18 -0000 3.11 @@ -88,6 +88,11 @@ xEvent *, xEvent *); +#define SetGCVector(pGC, VectorElement, NewRoutineAddress, Atom) \ + pGC->VectorElement = NewRoutineAddress; + +#define GetGCValue(pGC, GCElement) (pGC->GCElement) + extern ExtensionEntry *AddExtension( char* /*name*/, int /*NumEvents*/,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | xserver/hw/xizzle/os-support/linux/drm Makefile.am,NONE,1.1, Daniel Stone |
|---|---|
| Next by Date: | xserver ChangeLog,3.144,3.145 configure.ac,3.63,3.64, Daniel Stone |
| Previous by Thread: | xserver/hw/xizzle/os-support/linux/drm Makefile.am,NONE,1.1, Daniel Stone |
| Next by Thread: | xserver ChangeLog,3.144,3.145 configure.ac,3.63,3.64, Daniel Stone |
| 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.
|