From 7acf7c1fd5cddb5aa6210e178bfab924570667c7 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 27 Jan 2012 14:51:40 +0000 Subject: android: add EGL and pixel redrawing modes + start of 565 conversion --- vcl/inc/android/androidinst.hxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'vcl/inc/android') 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 +#include + #include #include #include @@ -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 -- cgit v1.2.3