[PATCH 1/5] wined3d: Add a function for allocating aligned resource memory (try 2)

Henri Verbeet hverbeet at gmail.com
Tue Aug 20 06:26:26 CDT 2013


On 20 August 2013 13:16, Stefan Dösinger <stefan at codeweavers.com> wrote:
> Am 2013-08-20 13:12, schrieb Henri Verbeet:
>> Somewhat related, I don't think there's really a reason to have
>> both "allocatedMemory" and "heap_memory" anymore. It should
>> probably just be called "sysmem". That's a cleanup that doesn't
>> necessarily belong in this patch though.
> Surfaces can still have DIBs. We're also assigning memory returned by
> glMapBuffer[Range] to resource.allocatedMemory,
>
Yeah, but you should be able to tell what kind of memory "sysmem" is
from the resource flags, you don't need the extra pointer for that.



More information about the wine-devel mailing list