Re: Does gbm_bo_map() implicitly synchronise?

2024-06-14 Thread Marek Olšák
gbm_bo_map synchronizes if it needs to move memory to make the buffer readable by the CPU or if the buffer is being used/written by the GPU. Marek On Sat, Jun 15, 2024 at 1:12 AM Pierre Ossman wrote: > > I'm experimenting with DRI3 and its use of GBM to share buffers. It > mostly works fine, but

Does gbm_bo_map() implicitly synchronise?

2024-06-14 Thread Pierre Ossman
I'm experimenting with DRI3 and its use of GBM to share buffers. It mostly works fine, but I'm seeing some issues that have me concerned there might be a synchronisation issue. The documentation isn't entirely clear, so my question is if gbm_bo_map() handles all the implicit synchronisation fo