blackberry/GamePlay — pull request #514 by sgrenier (2012-10-16 18:31:02+00:00)
Title: Minor optimizations and enhancements

Added method for creating an empty FrameBuffer object.
Added method for creating a gameplay Texture object from a native OpenGL texture handle, to allow unrestricted access to OpenGL texture formats and extensions which cannot be represented by the Texture::Format enumeration.
Added method for creating a RenderTarget object from a Texture object.
Added the ability to register material parameter auto binding resolvers for extending or overriding the set of built-in material AutoBinding support.
Some code cleanup in FrameBuffer, RenderTarget and DepthStencilTarget classes.
Removed all (non-debug-mode) glGet calls throughout the code to ensure there are no unnecessary GL pipeline stalls.
Removed the GL_CHECK macro since it promoted use of glGetError at runtime (use GL_ASSERT instead).