зеркало из https://github.com/mozilla/moz-skia.git
24 строки
452 B
C++
24 строки
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
|
|
|