Re: Does gbm_bo_map() implicitly synchronise?

Pierre Ossman <[email protected]>
Newsgroups gmane.comp.video.mesa3d.devel
Organization Cendio AB
Message-ID <[email protected]>
On 15/06/2024 07:54, Marek Olšák wrote:
> 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.
> 

Great, thanks! That means I need to look elsewhere for the source of my 
issue.

I was concerned that since I was accessing the data using gbm_bo_map(), 
rather than using OpenGL, I was missing out on some synchronisation step 
and getting data before the GPU had finished any queued rendering.

Regards
-- 
Pierre Ossman           Software Development
Cendio AB		http://cendio.com
Teknikringen 8		http://twitter.com/ThinLinc
583 30 Linköping	http://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.