diff options
author | Marek Olšák <[email protected]> | 2015-02-10 01:39:41 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-02-17 17:31:48 +0100 |
commit | 11ebb03c26a7af4e975f5611303f6caf98f8a315 (patch) | |
tree | 43cea246789fbc9237b7e8a2c3ea5deada4cb21e /src/gallium/drivers/nouveau | |
parent | 4fa61b1a23ab0128d3791541403ee020fbef3d4c (diff) |
mesa: implement GL_AMD_pinned_memory
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 all there is to it.
A piglit test is on the piglit mailing list.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
0 files changed, 0 insertions, 0 deletions