I use PowerVR sgx sdk and the hardware platform is a Ti DM8168 chip with linux running on it.I make a openGL ES2 demo and found that the background of openGL demo is always black.I also compile QT lib with openGL sdk and make a Qt demo with QGLWidget, but the background of QGLWidget is also black.
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);deoes not work.
first open fb0,and paint something.
then open GL painting.This will cover the whole screen.
In Qt demo, the QGLWidget always has a background cover the Widget behind it.Qt interface can not affect the openGL showing.
The powerVR demo didnot talk about this.It seems a tough thing on The embedded system.
I want that like this picture, the background is a Qwidget menu, and the square is openGL object in QGLWidget and back ground of QGLWidget is transparent.
Father, the QT always directly rend the openGL screen, so the rending content cover the framebuffer where other under layer widgets show.