Annotation of /trunk/xorg-server/patches/xorg-server-1.1.1-aiglx-dont-backfill-bg-none.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 581 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 581 byte(s)
-import
1 | niro | 153 | Disable backfilling of windows created with bg=none, which otherwise |
2 | would force a framebuffer readback. | ||
3 | |||
4 | --- ./composite/compalloc.c.spiffiffity 2006-03-13 16:59:55.000000000 -0500 | ||
5 | +++ ./composite/compalloc.c 2006-04-12 16:37:50.000000000 -0400 | ||
6 | @@ -478,6 +478,7 @@ | ||
7 | * Copy bits from the parent into the new pixmap so that it will | ||
8 | * have "reasonable" contents in case for background None areas. | ||
9 | */ | ||
10 | +#if 0 | ||
11 | if (pGC) | ||
12 | { | ||
13 | XID val = IncludeInferiors; | ||
14 | @@ -492,6 +493,7 @@ | ||
15 | w, h, 0, 0); | ||
16 | FreeScratchGC (pGC); | ||
17 | } | ||
18 | +#endif | ||
19 | return pPixmap; | ||
20 | } | ||
21 |