On 20 August 2013 13:16, Stefan Dösinger stefan@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.