Bug 10477 - [PATCH] mga not updating drawable state after window moves
Summary: [PATCH] mga not updating drawable state after window moves
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: libGL (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords: patch
: 9210 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-30 11:41 UTC by Gustavo Pichorim Boiko
Modified: 2007-04-09 05:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Check the drawable state when getting the lock (792 bytes, patch)
2007-03-30 11:42 UTC, Gustavo Pichorim Boiko
no flags Details | Splinter Review

Description Gustavo Pichorim Boiko 2007-03-30 11:41:27 UTC
Hi

Testing a Matrox G400 card here I verified that it was not updating the drawable state after the window was moved causing some interesting effects (the window moves, but no the contents).

Adding a DRI_VALIDATE_DRAWABLE_INFO() call in mgaGetLock() fixed the problem here. Patch following.
Comment 1 Gustavo Pichorim Boiko 2007-03-30 11:42:31 UTC
Created attachment 9392 [details] [review]
Check the drawable state when getting the lock
Comment 2 Brian Paul 2007-03-30 12:10:35 UTC
I checked in your fix.  Thanks.
Comment 3 Tilman Sauerbeck 2007-03-30 12:55:37 UTC
Could anyone confirm that this is the same bug as #9210? I can't test it right now.
Comment 4 Gustavo Pichorim Boiko 2007-03-30 13:36:07 UTC
I guess it is the same, but it would be nice if you could test before closing that one.
Comment 5 Tilman Sauerbeck 2007-04-09 05:14:15 UTC
*** Bug 9210 has been marked as a duplicate of this bug. ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.