summaryrefslogtreecommitdiff
path: root/vcl/inc/android
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-27 14:51:40 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-27 14:51:40 +0000
commit7acf7c1fd5cddb5aa6210e178bfab924570667c7 (patch)
tree7e448a370edd9d86f0cb2c3708a5c5edcf2df073 /vcl/inc/android
parent51741668593d23a1b35beb6971e92ba648974f31 (diff)
android: add EGL and pixel redrawing modes + start of 565 conversion
Diffstat (limited to 'vcl/inc/android')
-rw-r--r--vcl/inc/android/androidinst.hxx10
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