Hello,
I make a real-time 2D application which displays input data. The graphic is refreshed every 50ms but it contains some static objects that I don’t want to redraw. Furthermore, I need to save the CPU at most since there are other threads that do data treatment.
For saving the CPU, I thought to use block image transfert : I draw once in a buffer and then, every 50ms, I put the buffer on the frame buffer. I thought also to another solution : using z-buffer. I draw once my static objects and then, I draw upon these object. But it involves that every fragments will be tested each 50ms.
Is the z-buffer test can be done or accelerated by the hardware? What solution seems to be the more efficient?
Thanks in advance