Bring over various texture related functions from the other renderer and a (if 0'd) GL3 compatible version of the extension pretty printing.

This commit is contained in:
Colby Klein
2012-12-13 16:11:03 -08:00
parent c57365d68a
commit fb0e47b98f
2 changed files with 164 additions and 11 deletions
+4
View File
@@ -61,6 +61,9 @@ public:
void SetSphereEnvironmentMapping( TextureUnit tu, bool b );
void SetCelShaded( int stage );
void SetLineWidth(float fWidth);
void SetPolygonMode(PolygonMode pm);
RageCompiledGeometry* CreateCompiledGeometry();
void DeleteCompiledGeometry( RageCompiledGeometry* p );
@@ -78,6 +81,7 @@ protected:
RageSurface* CreateScreenshot();
RageMatrix GetOrthoMatrix( float l, float r, float b, float t, float zn, float zf );
bool SupportsSurfaceFormat( PixelFormat pixfmt );
bool SupportsRenderToTexture() const { return true; }
};
#endif