Hi
I have a small test application written in Qt5.5 using the QOpenGLWidget. It simply loads in bitmap images and displays them as a texture.
I'm completely new to all this and after a week of very very slow progress, I now have this working.
I developed the code on a desktop Ubuntu machine and all is OK.
When I deployed the application to RPi (v2), The first bitmap is displayed properly but then subsequent bitmaps are just black.
I played around with this, going back and fro from using the dev PC and Rpi and discovered that if the bitmaps are small (768x576) then the RPi is happy and will load and display images at 4 images per second with no problems. However, when the bitmaps get up to 1024 x 768 only some of the images load and display. As I increase the bitmap to 1280x960 only the very first image loads and displays then all subsequent images show a black screen. This happens even if i load and display each image manual on a click of a button (ie its not a problem with speed)
I even tried loading 3 images as QImages at startup and then just creating textures from them, but have the same results.
Since this all works fine on the desktop PC, I'm thinking it has to be a problem with some settings on the RPi. I've tried increasing the framebuffer size in config.txt, but thats all I know how to do.
Any pointers would be very greatly appreciated.
Mike