I have noticed the gallium context is flushed 3 times in SwapBuffers. Two of 
those flushes end up invoking the radeon CS ioctl, which also adds overhead in 
the kernel. Anyway, it seems very inefficient and this series tries to 
consolidate all the flushing in SwapBuffers.

The first flush is invoked in SwapBuffers, the second one is invoked when a 
drawable is flushed inside st/dri, and the last one is invoked in dri2Throttle 
while adding the fence/sync object in st/dri.

The idea is to remove the flush in SwapBuffers and consolidate the other two 
flushes.

I am not sure if I am heading in the right direction. I am looking forward to 
your comments.

Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to