(SVolumeRender): synchro CPU/GPU
Description
For the moment, we have:
Viewing the frame with NVIDIA Nsight Systems:
And we want this:
Proposal
first step (double buffering):
-> Create two textures in the starting of the service -> bool useFirst (true) if we should use the first texture - if we use the first texture, in the update, convertImageForNegato for the first texture -> Otherwise - if we use the second texture, in the update, convertImageForNegato for the second texture -> Bind the texture in the GPU -> Normally it should work (checks using NVIDIA Nsight Systems)
second step (same but use the fence)