[Bug 21204] Warcraft 3 disproportionately slow in d3d mode unless RenderTargetLockMode=disabled

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 6 03:28:27 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=21204

--- Comment #7 from Roman <m01brv at mail.ru> 2010-09-06 03:28:27 CDT ---
I've done some profiling using sysprof. According to it, almost all of the time
in D3D mode with lockfb=1 WC3 spends in the following stack sequence:

war3.exe
IDirect3DSurface8Impl_LockRect
IWineD3DSurfaceImpl_LockRect
IWineD3DSurfaceImpl_LoadLocation
read_from_framebuffer
i965_dri.so (not resolved in subroutines, though it seems I have all necessary
debugging symbols installed)

Eventually, almost all of the time is spent in the video driver (i965_dri.so),
though I think the low performance may be due to inoptimal organization of the
OpenGL calls in the wine's Direct 3D, since the problem exists on many video
cards.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list