873cb1e23b
move skia-gpu files into skia/src/gpu git-svn-id: http://skia.googlecode.com/svn/trunk@653 2bbb7eff-a529-9590-31e7-b0007b416f81
21 lines
266 B
C++
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
|