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

Stefan Dösinger stefan at codeweavers.com
Tue Apr 17 13:07:02 CDT 2007


Am Dienstag 17 April 2007 19:52 schrieb Stefan Dösinger:
> 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
Ooops. Used / 0.5 instead of * 0.5.
-------------- 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/18f0a85a/0003-D3D9-Rework-the-converted-vertex-declaration-manage.bin


More information about the wine-patches mailing list