Discussion:
[directfb-users] surface's Lock() and Unlock()
Ha Nguyen
2012-11-14 09:01:34 UTC
Permalink
Hi everybody,

Can I ask if a surface's Lock() and Unlock() do actually wait for all
ongoing operations on the surface to be finished? or updated the surface's
buffer from cache (if any)?

Thanks,
Ha Nguyen
Denis Oliver Kropp
2012-11-24 01:46:23 UTC
Permalink
Post by Ha Nguyen
Hi everybody,
Can I ask if a surface's Lock() and Unlock() do actually wait for all ongoing operations on the surface to be finished? or updated the surface's buffer from
cache (if any)?
It will wait in case the GPU has pending operations.

Flushing cache is up to the system modules surface pool implementation.
--
Denis Oliver Kropp
DirectFB integrated media GmbH
Loading...