Currently RENDER_BYPASS clears out the whole screen which results in an ugly view when video isn't in fullscreen (e.g. pvr window in confluence).
This commit uses the glScissor function to clear out the video rect only.
Example before: https://dl.dropbox.com/u/8261657/bypass_before.png
Example after: https://dl.dropbox.com/u/8261657/bypass_after.png
Tested on linux (pivos buildroot) and android (amlplayer) with different resolutions.
These are my first lines of code in OpenGL... there can be very well a better solution for this. But I didn't see any problems (not with performance or anything else).
I'll also test it in the RaspberryPI.
nice - @davilla - thats what i ment some days ago :D
You should iWidth and iHeight otherwise it doesn't work with clamped gui rendering.
Ok... will fix right away...
[LinuxRendererGLES] - Don't let RENDER_BYPASS clear out the whole scr…
…een (use video rect instead)
Looks ok from my side. @davilla @theuni would be nice for frodo ;)