mono/MonoGame — pull request #2097 by prollin (2013-10-18 03:29:11+00:00)
Title: RenderTarget improvements

- Add MSAA support when available (WindowsGL, iOS and Android)
- Add render to cubemap support
- Better Framebuffer object management

This is a big change that add proper RenderTarget support (MSAA + Cubmap + MRT) on all GL platforms. Due to the complexity supporting RenderTarget on mobile platforms, I moved all the GL calls inside the GraphicsDevice class; this makes it a lot easier to maintain a clean code. I would strongly advise that we do this for all graphics resources and separate each API in its own GraphicsDevice implementation (will be necessary to support GLES3.0 along with GLES2.0).

This PR might have a few issue due to other changes in the GraphicsDevice that I couldn't test but I wanted to send this to have ppl review it, discuss it, test it and eventually improve it.