D3D9: Rework the converted vertex declaration management (try 3)

Stefan Dösinger stefan at codeweavers.com
Tue Apr 17 12:52:22 CDT 2007


Am Dienstag 17 April 2007 18:38 schrieb H. Verbeet:
> On 17/04/07, Stefan Dösinger <stefan at codeweavers.com> wrote:
> > This time uses HeapReAlloc, grows the array by 4(defined as a constant).
> > The information from the initial search is used for putting the element
> > into the array.
>
> Typically you would grow by a percentage. I think MoveMemory would be
> preferred over memove, but I'm not sure.
Another patch which grows by 0.5 * existing size
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-D3D9-Rework-the-converted-vertex-declaration-manage.patch
Type: text/x-diff
Size: 12683 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070417/241888eb/0003-D3D9-Rework-the-converted-vertex-declaration-manage.bin


More information about the wine-patches mailing list