/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2008.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: include/drivers/common/opengl/ogltexturemanager.hpp

*/

#ifndef SGX_OPENGL_TEXTURE_MANAGER
#define SGX_OPENGL_TEXTURE_MANAGER

class CSGXOpenGLTextureManager : public CSGXTextureManager {
public:
	static	CSGXTextureManager *create();

	virtual CSGXSurface *createSurface(const CImageData &img, const CSGXSurface::tReason reason=CSGXSurface::eReasonDefault);
	virtual CSGXTexture *loadTexture(const sgxString &filename, const CImageData::Mask &mask);

	static GLuint getNextTextureID();
private:
	static GLuint ms_CurrentTextureID;
};

#endif /* SGX_OPENGL_TEXTURE_MANAGER */
