skia2/obsolete/SkGLDevice_FBO.h
reed@google.com 5d32fc4c1c move old (unmaintained) gl backend out of src. src/gpu superceeds this now.
Will delete the files in obsolete/ at some point...



git-svn-id: http://skia.googlecode.com/svn/trunk@830 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-02-22 20:50:57 +00:00

24 lines
452 B
C++

#ifndef SkGLDevice_FBO_DEFINED
#define SkGLDevice_FBO_DEFINED
#include "SkGLDevice.h"
class SkGLDevice_FBO : public SkGLDevice {
public:
SkGLDevice_FBO(const SkBitmap& bitmap, bool offscreen);
virtual ~SkGLDevice_FBO();
// overrides from SkGLDevice
virtual void gainFocus(SkCanvas*);
virtual TexOrientation bindDeviceAsTexture();
private:
GLuint fFBO;
GLuint fTextureID;
typedef SkGLDevice INHERITED;
};
#endif