flibitijibibo/MonoGame — pull request #132 by sulix (2014-02-07 12:23:10+00:00)
Title: OpenGLDevice: BindFramebuffer and friends

A couple of quick additions to OpenGLDevice. Framebuffer object stuff, mostly.

What's the scope for OpenGLDevice? There are a few things which probably don't benefit much from state caching (even MonoGame is not stupid enough to keep changing framebuffer attachments, for example). Things get a little bit more complicated if we try to do anything too clever with Textures or Shaders, etc., particularly when trying to stick to OpenGL <= 3.0.

Thoughts?