Bug 10477

Summary: [PATCH] mga not updating drawable state after window moves
Product: DRI Reporter: Gustavo Pichorim Boiko <boiko>
Component: libGLAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: hramrach
Version: XOrg gitKeywords: patch
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Check the drawable state when getting the lock none

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.