diff options
Diffstat (limited to 'platform/android/.old/context_gl_android.h')
-rw-r--r-- | platform/android/.old/context_gl_android.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/platform/android/.old/context_gl_android.h b/platform/android/.old/context_gl_android.h new file mode 100644 index 0000000000..bf09d08ad2 --- /dev/null +++ b/platform/android/.old/context_gl_android.h @@ -0,0 +1,24 @@ +#ifndef CONTEXT_GL_ANDROID_H +#define CONTEXT_GL_ANDROID_H + +class ContextGLAndroid : public ContextGL { + + enum { + COMMAND_BUFFER_SIZE = 1024 * 1024, + }; + +public: + + virtual void make_current(); + + virtual int get_window_width(); + virtual int get_window_height(); + virtual void swap_buffers(); + + virtual Error initialize(); + + ContextGLAndroid(); + ~ContextGLAndroid(); +}; + +#endif // CONTEXT_GL_ANDROID_H |