Bugzilla – Attachment 72842 Details for
Bug 157051
Xgl flickers on intel graphics chips
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Workaround for compiz currently needed for using CopySubBuffer
compiz-intel-copy-pixel-issue-workaround-1.diff (text/plain), 697 bytes, created by
Matthias Hopf
on 2006-03-14 18:37:27 UTC
(
hide
)
Description:
Workaround for compiz currently needed for using CopySubBuffer
Filename:
MIME Type:
Creator:
Matthias Hopf
Created:
2006-03-14 18:37:27 UTC
Size:
697 bytes
patch
obsolete
>--- display.c 13 Mar 2006 16:13:48 -0000 1.7 >+++ display.c 13 Mar 2006 16:54:02 -0000 >@@ -856,6 +856,8 @@ > > if (timeToNextRedraw == 0) > { >+ static int init = 0; >+ > gettimeofday (&tv, 0); > > timeDiff = TIMEVALDIFF (&tv, &s->lastRedraw); >@@ -908,11 +910,11 @@ > { > BoxPtr pBox; > int nBox, y; >- >- pBox = tmpRegion->rects; >+ >+ pBox = tmpRegion->rects; > nBox = tmpRegion->numRects; > >- if (s->copySubBuffer) >+ if (s->copySubBuffer && init) > { > while (nBox--) > { >@@ -951,6 +953,7 @@ > pBox->x2 - pBox->x1, > pBox->y2 - pBox->y1, > GL_COLOR); >+init = 1; > > pBox++; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 157051
:
72796
|
72841
| 72842 |
73067