summaryrefslogtreecommitdiffstats
path: root/vcl/inc/android
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-02-25 14:13:08 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-02-25 14:17:57 +0000
commit9ab611a652334a98ba7922ee6a53b61bbcc4892f (patch)
treeb12763802820f501f85148b19748538e54227e84 /vcl/inc/android
parentgbuild_simple: add gb_Python and include also Tempfile here (diff)
downloadcore-9ab611a652334a98ba7922ee6a53b61bbcc4892f.tar.gz
core-9ab611a652334a98ba7922ee6a53b61bbcc4892f.zip
android: move DamageTracker concept into SvpSalFrame and try to use it
Diffstat (limited to 'vcl/inc/android')
-rw-r--r--vcl/inc/android/androidinst.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx
index 10d17c53b8b5..9f8d22f98645 100644
--- a/vcl/inc/android/androidinst.hxx
+++ b/vcl/inc/android/androidinst.hxx
@@ -38,6 +38,7 @@
#include <headless/svpinst.hxx>
#include <headless/svpframe.hxx>
+class AndroidSalFrame;
class AndroidSalInstance : public SvpSalInstance
{
void BlitFrameToWindow(ANativeWindow_Buffer *pOutBuffer,
@@ -64,10 +65,12 @@ public:
void RedrawWindows(ANativeWindow *pWindow);
SalFrame *getFocusFrame() const;
+ void damaged(AndroidSalFrame *frame, const Rectangle &rRect);
protected:
virtual void DoReleaseYield( int nTimeoutMS );
struct android_app *mpApp;
- bool mbQueueReDraw;
+ Region maRedrawRegion;
+ bool mbQueueReDraw;
private:
EGLDisplay mxDisplay;