Re: [Mesa-dev] [PATCH 1/6] mesa: implement GL_AMD_pinned_memory

2015-02-12 Thread Christian König
Sorry for forgetting to bump the driver version, been to busy lately. Patches are Reviewed-by: Christian König Regards, Christian. Am 11.02.2015 um 21:18 schrieb Marek Olšák: From: Marek Olšák It's not possible to query the current buffer binding, because the extension doesn't define GL_...

Re: [Mesa-dev] [PATCH 1/6] mesa: implement GL_AMD_pinned_memory

2015-02-11 Thread Ian Romanick
I was wondering when you'd get around to implementing this. :) This patch is Reviewed-by: Ian Romanick On 02/11/2015 12:18 PM, Marek Olšák wrote: > From: Marek Olšák > > It's not possible to query the current buffer binding, because the extension > doesn't define GL_..._BUFFER__BINDING_AMD. >

[Mesa-dev] [PATCH 1/6] mesa: implement GL_AMD_pinned_memory

2015-02-11 Thread Marek Olšák
From: Marek Olšák It's not possible to query the current buffer binding, because the extension doesn't define GL_..._BUFFER__BINDING_AMD. Drivers should check the target parameter of Drivers.BufferData. If it's equal to GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, the memory should be pinned. That's a