[Mesa-dev] clover: image resource management

Francisco Jerez currojerez at riseup.net
Fri Aug 7 05:06:20 PDT 2015


Zoltán Gilián <zoltan.gilian at gmail.com> writes:

> Hi!
>
> I've noticed that clover::kernel::image_wr_argument::unbind destroys
> the surface. What kind of behaviour is expected from the driver to
> allow later access to the resource (e.g. by clEnqueueReadImage)?

It only destroys the cached view into the image, of course the resource
itself is not destroyed.  clEnqueueReadImage will map the resource
directly so it doesn't need access to the pipe_surface at this point.

>
> Zoltan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150807/05d2cfdd/attachment.sig>


More information about the mesa-dev mailing list