[PATCH] [try 4] ddraw: Grow indexbuffer as needed

Stefan Dösinger stefandoesinger at gmx.at
Thu Jun 24 15:45:17 CDT 2010

Am Donnerstag 24 Juni 2010 17:56:07 schrieb Henri Verbeet:
> If we really cared about those cases we could explicitly handle them,
> (e.g. by growing in smaller increments once we're over half the limit)
> but I don't think we do. There's also the (more likely) consideration
> that creating an index buffer of a certain size will fail due to
> running out of memory / address space, while a slightly smaller buffer
> might succeed, but I don't think we really care about that one either.
Sounds reasonable

Besides, this index buffer here is an ugly thing, and I am surprised it 
survived this long. It'll need a better solution after Wine 1.2, maybe a 
method in wined3d to draw from a vertex buffer with user pointer index data, or 
a special user pointer index buffer. I have played with the latter idea a while 
ago but ran into some issues.

More information about the wine-devel mailing list