aboutsummaryrefslogtreecommitdiffstats
path: root/android/multitouch-screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/multitouch-screen.h')
-rw-r--r--android/multitouch-screen.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/android/multitouch-screen.h b/android/multitouch-screen.h
index 433944d..baca224 100644
--- a/android/multitouch-screen.h
+++ b/android/multitouch-screen.h
@@ -17,6 +17,7 @@
#ifndef ANDROID_MULTITOUCH_SCREEN_H_
#define ANDROID_MULTITOUCH_SCREEN_H_
+#include "android/sdk-controller-socket.h"
#include "android/multitouch-port.h"
/*
@@ -61,9 +62,6 @@ extern void multitouch_update_pointer(MTESource source,
/* Gets maximum slot index available for the multi-touch emulation. */
extern int multitouch_get_max_slot();
-/* Saves screen size reported by the device that emulates multi-touch. */
-extern void multitouch_set_device_screen_size(int width, int height);
-
/* A callback set to monitor OpenGLES framebuffer updates.
* This callback is called by the renderer just before each new frame is
* displayed, providing a copy of the framebuffer contents.
@@ -97,4 +95,12 @@ extern void multitouch_opengles_fb_update(void* context,
int type,
unsigned char* pixels);
+/* Pushes the entire framebuffer to the device. This will force the device to
+ * refresh the entire screen.
+ */
+extern void multitouch_refresh_screen(void);
+
+/* Framebuffer update has been handled by the device. */
+extern void multitouch_fb_updated(void);
+
#endif /* ANDROID_MULTITOUCH_SCREEN_H_ */