On 10/06/2015 18:08, Marc-André Lureau wrote :
Hi,

XPutImage requires to copy the images around, and the request may be
split over several chunks. Using XShm should improve performance.



Another way of doing that is to make the swrast loader allocate the buffers,
and have swrast swap buffers instead of copying content.

For example there could be a request to allocate a first buffer,
and then a request to present an already allocated buffer, which
would return a new buffer (could be the same).

Doing that way, it could use XShm behind the scene, and it would fit
different usages, like having a zero copy mechanism for wayland swrast.

Yours,

Axel Davy
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to