[Mesa-dev] [PATCH v3 00/11] Map support for GBM

Thomas Hellstrom thellstrom at vmware.com
Tue Apr 8 13:49:07 PDT 2014


On 04/08/2014 10:28 PM, Ander Conselvan de Oliveira wrote:
> From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
>
> Changes from previous version:
>
>   - make it clearer that the interface is optional;

No! this is still a NAK!

The reason is, just like the last time, that as soon as the major
drivers implement this, The users of the interface will stop caring
about the "slowpath" (no mmap() available). There are some other good
reasons too, like for example the buffers being tiled or uncached.

If you desperately need a generic way to access accelerated buffer
contents using the CPU, then implement something similar to
glTex[sub]Image() or gl[read|write]Pixels.

Thanks,
/Thomas


 


More information about the mesa-dev mailing list