skia2/include/utils/SkEGLContext.h
reed@google.com 873cb1e23b add gpu to the default makefile
move skia-gpu files into skia/src/gpu



git-svn-id: http://skia.googlecode.com/svn/trunk@653 2bbb7eff-a529-9590-31e7-b0007b416f81
2010-12-23 15:00:45 +00:00

21 lines
266 B
C++

#ifndef SkEGLContext_DEFINED
#define SkEGLContext_DEFINED
#include "SkTypes.h"
/**
* Create an offscreen opengl context
*/
class SkEGLContext {
public:
SkEGLContext();
~SkEGLContext();
bool init(int width, int height);
private:
void* fContext;
};
#endif