Hi Guys,Trying to port an akready well running Sw from Fedora PC to the Mali400 on ST7108 chip, with GLES-2.0, I got a problem working with Framebuffer Objects.Everything is ok, debugging ok, framebuffer objects completes, no errors, but the screen remains completely dark.My environment on Mali/ST7108 is OK, other applications can run nicely.But I think to have not completely understood (or better: not understood at all) how to set display and surfaces while working woth FBOs (maybe the problem could be also found somewhere else)Basic setting is more or less as below, where I have put only the relevant setting and call for Display and Surfaces.In does seem that the eglSwapBuffers does't work at all while working with FBOs(even a monocolor screen cannot be seen...).In contrast, while working out of FBOs, everything seems to be ok.After binding with glBindFramebuffer(GL_FRAMEBUFFER,0), then everything is working and can be displayed.In contrast, after glBindFramebuffer(GL_FRAMEBUFFER, framebuffer), I cannot see anything after he eglSwapBuffers, even if the debug seems to be ok.
GenFramebuffers(1, &framebuffer);glBindFramebuffer(GL_FRAMEBUFFER, framebuffer);glFramebufferTexture2D(GL_FRAMEBUFFER,GL_COLOR_ATTACHMENT0,GL_TEXTURE_2D,texture,0);// render texture details to frame bufferglBindFramebuffer(GL_FRAMEBUFFER, 0)// render objects using textureeglSwapbuffers(display, surface)