[PATCH 1/4] ddraw: Make D3DVBCAPS_WRITEONLY vertex buffers dynamic

Henri Verbeet hverbeet at gmail.com
Tue Feb 28 07:51:06 CST 2012


On 28 February 2012 14:17, Stefan Dösinger <stefan at codeweavers.com> wrote:
> Am Dienstag, 28. Februar 2012, 13:05:16 schrieb Henri Verbeet:
>> I don't see why WRITEONLY should imply DYNAMIC.
> For one, the documents from nvidia tell you to set D3DVBCAPS_WRITEONLY when
> you want to stream data[1]. Microsoft doesn't really document how dynamic
> buffers work in d3d7.
>
> The other consideration is that DYNAMIC buffers that are not WRITEONLY are a
> bad idea in d3d8/9. Yes, we don't handle WINED3DUSAGE_WRITEONLY at the moment,
> but the consideration makes sense for d3d7 too.
>
Yes, but that's the other way around. If anything, that pdf suggests
that buffers are dynamic by default in ddraw.



More information about the wine-devel mailing list