[GtkGLExt] so quiet... I asked about swapping buffers.



I am wondering if there's anybody else subscribed to this mailing list... I haven't gotten any traffic at all!

Yesterday I asked about swapping buffers on numerous widgets. I am wondering if it is at all possible to swap buffers on a number of widgets without each buffer swap happening on a different screen refresh. I have tried numerous approaches and so far have seen my video get slower and slower for each video stream I am sending to the screen. There is frame stutter once I have more than three frames running. My screen refreshes at 60 Hz, and my video is coming in at 30 FPS. I should (theoretically) see the video run nice and smooth, however, that's not happening. I think it's because when swap_buffers is called, the call blocks until buffers are swapped. I have implemented instrumentation which indicates this. A small sample of the output of that instrumentation is below:

14304
16473
16504
16797
16235


This is in microseconds. I do all of the draws for each OpenGL widget in an idle function, and then loop through and swap each. The instrumentation only times the swap_buffers call. I supply a glFinish() before, so there is no delay due to queued OpenGL calls.


Is there a way to possibly do all of the widget swaps in one fell swoop?


Thank you for your support,

Rob Stoddard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]