diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-27 14:51:40 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-27 14:51:40 +0000 |
commit | 7acf7c1fd5cddb5aa6210e178bfab924570667c7 (patch) | |
tree | 7e448a370edd9d86f0cb2c3708a5c5edcf2df073 /vcl/inc/android | |
parent | android: attach as daemon with given JNI version, and don't exit. (diff) | |
download | core-7acf7c1fd5cddb5aa6210e178bfab924570667c7.tar.gz core-7acf7c1fd5cddb5aa6210e178bfab924570667c7.zip |
android: add EGL and pixel redrawing modes + start of 565 conversion
Diffstat (limited to 'vcl/inc/android')
-rw-r--r-- | vcl/inc/android/androidinst.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx index 8efb96383faa..7372f755c5e2 100644 --- a/vcl/inc/android/androidinst.hxx +++ b/vcl/inc/android/androidinst.hxx @@ -30,6 +30,9 @@ #ifndef ANDROID_SALINST_H #define ANDROID_SALINST_H +#include <EGL/egl.h> +#include <GLES/gl.h> + #include <android/input.h> #include <android/native_window.h> #include <headless/svpinst.hxx> @@ -37,7 +40,7 @@ class AndroidSalInstance : public SvpSalInstance { - void BlitFrameToWindow(ANativeWindow *pWindow, + void BlitFrameToWindow(ANativeWindow_Buffer *pOutBuffer, const basebmp::BitmapDeviceSharedPtr& aDev); public: AndroidSalInstance( SalYieldMutex *pMutex ); @@ -58,6 +61,11 @@ protected: virtual void DoReleaseYield( int nTimeoutMS ); struct android_app *mpApp; bool mbQueueReDraw; + +private: + EGLDisplay mxDisplay; + EGLSurface mxSurface; + EGLContext mxContext; }; #endif // ANDROID_SALINST_H |