Bug 23658 - _mesa_meta_clear() breaks glxgears until resized
Summary: _mesa_meta_clear() breaks glxgears until resized
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R100 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-02 14:45 UTC by Alex Deucher
Modified: 2009-09-03 15:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
first guess patch/fix (664 bytes, patch)
2009-09-02 15:10 UTC, Brian Paul
Details | Splinter Review

Description Alex Deucher 2009-09-02 14:45:03 UTC
On r600 _mesa_meta_clear causes the glxgears to only show the old backbuffer until the window is resized.  meta_clear_tris worked.

commit 18916986b4a7155e3cba2efb5dfd79dc561cfa41
Comment 1 Alex Deucher 2009-09-02 14:57:00 UTC
MrCooper suggested that the new meta clear code avoid redundant viewport calls which may be the cause of the problem.
Comment 2 Brian Paul 2009-09-02 15:10:42 UTC
Created attachment 29125 [details] [review]
first guess patch/fix

Does this patch help?
Comment 3 Alex Deucher 2009-09-02 15:28:35 UTC
No.  Same behavior as before.
Comment 4 Brian Paul 2009-09-02 15:49:09 UTC
Could you do a little debugging and check that the vertex positions in _mesa_meta_clear() are correct?
Comment 5 Alex Deucher 2009-09-03 15:06:20 UTC
fixed in 6a97cca0817b743e0633ff76630a5bef24469d1b.

The render buffer target state wasn't set up in some cases so it never got emitted.


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.