>> As I wrote in the previous email, it seems that we currently are not blocked 
>> waiting for vsync(), at least on Windows with D3D pipeline. Anyway, even if 
>> we "fix" that, what you propose is that sometimes both threads will be 
>> blocked (the render thread waiting for vsync, the event thread waiting for 
>> the render thread), which doesn't sound perfect.
> 
> Right. That stinks.

So today, the FX thread will block waiting for the render thread at the point 
where we synchronize state between the FX thread and render thread. The problem 
with this proposal is that we will wait here much longer waiting for vsync in 
the case that we have animations happening, which is just dead time when we 
ought to be preparing the next frame.

Richard

Reply via email to