|
|
Sponsor |
xserver/fb fbcompose.c,1.19,1.20: msg#00174freedesktop.xserver.cvs
Committed by: jaymz Update of /cvs/xserver/xserver/fb In directory pdx:/tmp/cvs-serv12425/fb Modified Files: fbcompose.c Log Message: Temporarily disable the 24bpp WORKING_UNALIGNED_INT because of a crash when using electric-fence when accessing hte last pixel of a drawable (last pixel is 3 bytes, read it as a 4 byte word, and you're reading one extra pixel, which doesn't normally matter, but does in a few rare cases). Should be easy to work around, but that will come later. Index: fbcompose.c =================================================================== RCS file: /cvs/xserver/xserver/fb/fbcompose.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- a/fbcompose.c 28 Dec 2003 12:58:00 -0000 1.19 +++ b/fbcompose.c 26 Feb 2004 05:33:21 -0000 1.20 @@ -1655,14 +1655,18 @@ (pixel[1] << 8) | (pixel[2])); #else - #ifdef WORKING_UNALIGNED_INT +/* Read the changelog entry for 2004-02-24 before you turn this back on - the bug + * is incredibly rare, but if you're using a malloc() debugger, it can really + * ruin your day + */ +/* #ifdef WORKING_UNALIGNED_INT return *(CARD32 *)pixel|0xff000000; - #else + #else*/ return (0xff000000 | (pixel[2] << 16) | (pixel[1] << 8) | (pixel[0])); - #endif +/* #endif*/ #endif }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | xserver Doxyfile,NONE,3.1 ChangeLog,3.133,3.134, Warren Turkal |
|---|---|
| Next by Date: | xserver ChangeLog,3.134,3.135, Jaymz Julian |
| Previous by Thread: | xserver Doxyfile,NONE,3.1 ChangeLog,3.133,3.134, Warren Turkal |
| Next by Thread: | xserver ChangeLog,3.134,3.135, Jaymz Julian |
| 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.
|