Skip to content

virtio-gpu api: blob synchronization

We need to

(1) flush/invalidate caches for zero-copy non-coherent resources. (2) memcpy for staging resources.

The API is a carbon copy of vkFlushMappedMemoryRanges / vkInvalidateMappedMemoryRanges. Returns an out fence -- Android userspace can actually benefit from that given the (*unlockAsync) gralloc API.

CC: @kraxel @olv

Merge request reports

Loading