xbmc/xbmc — pull request #1101 by Schischu (2012-06-24 21:44:16+00:00)
Title: Add basic OpenGLES1.1 implementation

Before we start, this pull request is mainly for discussing if openglesv1 support should ever be added to xbmc. This pull request is not yet complete and contains only very basic functionality to show what changes would be necessary to get basix opengles1.1 support.

ATM I am using GL_QUADS as the hardware blitter only knows 4point blits,
but I think that I will switch to 4point TRIANGLES_STRIP to be more standard conform.
As I am also writing the opengl library switching would not be a problem.

I did not really take care of the VideoRender stuff as I will not need it. My hardware renders directly into a layer behind the framebuffer. So basically just removing all the shader stuff so it compiles. It would be better if I could compile xbmc without the videorenders, but atm to many dependencies.

I also deactivated the visualizations as audio is decoded by the hardware. A pcm stream could be routed back, but only if it is downmixed (Surround ->Stereo). If the audio is routed directly undecoded to the av receiver then there will be never a pcm stream in the system. So pcm based visualizations wont work anyway.

So this is really just the basic stuff to get xbmc working with my gles1.1 implementation for sti7105/sti7111/sti7168 sh4 cpu arch based devices.