Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [synchronization]

The tag has no usage guidance.

0
votes
1answer
36 views

how to update my scene graph?

I am updating my scene graph in response to user input and the network. What is the best way to do this? The updating threads are separate. Some approaches I am thinking about: double buffer. There ...
0
votes
0answers
100 views

Sharing a MTLCommandBuffer across multiple MTKViews

I am using MTKViews for select UI elements inside of my UIKit app. I have a central metal controller that does something somewhat like this: ...
3
votes
1answer
674 views

Why do I need memory barrier when doing atomic operations?

I am reading the OpenGL SuperBible 7th edition which covers atomic operations on memory specifically within shader storage blocks. It says (about atomic operations): If two invocations access the ...
1
vote
1answer
171 views

Do we really need a fence event?

One of the hardest things for me with the modern closer to the metal graphics APIs is understanding synchronization. I usually try to simplify things in order to understand the concept better. In ...
3
votes
1answer
306 views

Directly use Transform Feedback primitive count as instance count for drawing

When using Transform Feedback to capture the vertices generated by the primtive generation stage, we can use glDrawTransformFeedback to directly draw the generated ...
4
votes
2answers
524 views

How does ID3D12Resource::Map work?

How does Map() work? I would guess that it allocates memory to fit the resource size (or a range of it), but when are the bytes sent to the GPU?