wined3d: fix a memory leak and a performance regression in gen_arbfp_ffp_shader
Alexandre Julliard
julliard at winehq.org
Wed Sep 3 09:32:32 CDT 2008
"Jeff Zaroyko" <jeffzaroyko at gmail.com> writes:
> None as such since difference in performance is so large. I can say
> that without a doubt using HeapAlloc and HeapFree in this function
> causes noticeable delays such that in Battlefield 1942 the framerate
> is falls so much that it is unplayable, changing the allocation leaves
> no trace of this.
The first thing to try would be to get rid of the useless
HEAP_ZERO_MEMORY. If that's not enough you should profile it to find
where the bottleneck is.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list