[Bug 59273] New: bad d3d streaming buffer flash range tracking
http://bugs.winehq.org/show_bug.cgi?id=59273 Bug ID: 59273 Summary: bad d3d streaming buffer flash range tracking Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@list.winehq.org Reporter: trass3r@gmail.com Distribution: --- In Dungeon Keeper 2 I noticed bad performance due to:
fixme "Doing a copy of a mapped buffer (expect performance issues)"
I took a perf trace and most of the time was spent copying 512KB of streaming buffer back and forth just for a few vertices for every DrawIndexedPrimitive. It always maps the whole streaming buffer even though it tracks the changed parts and flushes them correctly: https://gitlab.winehq.org/wine/wine/-/commit/793ac83d5b7fc0bc440714b218d607a... wow64_map_buffer does skip the copy if you use GL_MAP_INVALIDATE_* flags but wined3d fails to properly set these flags. But then you still have the copy at unmap which happens cause it doesn't track the flush range calls done by wined3d. https://github.com/wine-mirror/wine/compare/master...Trass3r:wine:map-buffer... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59273 Trass3r <trass3r@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |10.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)
-
WineHQ Bugzilla