Within the open-source world, code examples and documentation can be particularly important in ensuring a lower barrier to participation. One developer, Jose Commins, has worked on creating demos, such as how to use OpenGL within GTK+. One of his projects is GtkGLApp
, but now he's working on a new one involving real-time video streaming to GTK+ 3D surfaces.
GtkGLApp: Demonstration of OpenGL within GTK windows (using GtkGLExt) and the latest GtkBuilder format.It provides safe render-process locking and smooth timer-based rendering while being simple, efficient and easy to understand what is going on.
Jose has written in saying, "I am developing a more advanced version with real-time video streaming onto separate GTK+ 3D surfaces. Since this involves rarely-used (if at all) features of GTK+ it has revealed some very strange quirks with different graphic card drivers (e.g. flickering with ATI drivers, no flicker with nVidia, etc)."
Though due to not having a vast array of graphics hardware, he's hoping Phoronix readers will help in discovering Gtk+ and GPU driver bugs for this video implementation within GTK.
Jose has assembled an x86_64 version of this new GTK video test for those interested in running it and reporting the results (just post any feedback or questions in our forums
) and he should be able to address it personally. The new GtkGLApp demo can be downloaded here