[Bug 45723] New: Occlusion queries always flush (Overwatch)
https://bugs.winehq.org/show_bug.cgi?id=45723 Bug ID: 45723 Summary: Occlusion queries always flush (Overwatch) Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: awesie(a)gmail.com Distribution: --- While investigating the D3D performance of Overwatch, one issue that I identified is that Wine does not support queries without flushing. Part of the problem is that while GetData (directx9+) supports passing a flag to control flush, the OpenGL equivalent, glGetQueryObject, has no such flag. The result is that Wine currently introduces a lot of flushes if the original program uses a lot of queries each frame. I wrote a sample implementation that uses query buffer objects to prevent the flush. This also allowed me to query for the occlusion query result on the main thread instead of the cs thread, because it is now just reading from a mapped buffer instead of an OpenGL call. The result was a significant improvement (~30%) in fps in my test area, though mileage may vary. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45723 --- Comment #1 from Henri Verbeet <hverbeet(a)gmail.com> --- Using query buffer objects sounds fine, on the face of it. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45723 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- With https://source.winehq.org/git/wine.git/?a=commit;h=580ea44bc65472c0304d74b7e..., is this fixed? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45723 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Version|unspecified |3.16 CC| |joseph.kucia(a)gmail.com Fixed by SHA1| |580ea44bc65472c0304d74b7e87 | |3acfb7f680b85 Status|UNCONFIRMED |RESOLVED --- Comment #3 from Józef Kucia <joseph.kucia(a)gmail.com> --- Fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45723 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.18. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org