diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-01-09 17:51:21 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-01-09 17:51:21 -0800 |
commit | 03202c9c3dfbf8c4feb0a1ee9b3680817e633f58 (patch) | |
tree | 1d0ba7cbf3e77c239527697ac455312b216c434e /src/gl/SkGLDevice_FBO.h | |
parent | 37df15a82319228ae28fe5d99c010b288aad7091 (diff) | |
download | external_skia-03202c9c3dfbf8c4feb0a1ee9b3680817e633f58.zip external_skia-03202c9c3dfbf8c4feb0a1ee9b3680817e633f58.tar.gz external_skia-03202c9c3dfbf8c4feb0a1ee9b3680817e633f58.tar.bz2 |
auto import from //branches/cupcake/...@125939
Diffstat (limited to 'src/gl/SkGLDevice_FBO.h')
-rw-r--r-- | src/gl/SkGLDevice_FBO.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gl/SkGLDevice_FBO.h b/src/gl/SkGLDevice_FBO.h new file mode 100644 index 0000000..d695ff0 --- /dev/null +++ b/src/gl/SkGLDevice_FBO.h @@ -0,0 +1,23 @@ +#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 + |