diff options
author | Steve Kondik <shade@chemlab.org> | 2012-11-18 15:47:18 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-11-18 15:47:18 -0800 |
commit | a546c7006355a7bd1df4267ee53d0bfa2c017c8c (patch) | |
tree | 01be0bf6c0d6968e1468ec9661fd52110f9b05a7 /android/multitouch-screen.h | |
parent | baf3d7830396202df5cc47bd7bcee109c319cdb3 (diff) | |
parent | 0f809250987b64f491bd3b4b73c0f0d33036a786 (diff) | |
download | external_qemu-a546c7006355a7bd1df4267ee53d0bfa2c017c8c.zip external_qemu-a546c7006355a7bd1df4267ee53d0bfa2c017c8c.tar.gz external_qemu-a546c7006355a7bd1df4267ee53d0bfa2c017c8c.tar.bz2 |
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/external/qemu into mr1-staging
Change-Id: I8a4a71ac65b08e6e17f26c942f67a15b85211115
Diffstat (limited to 'android/multitouch-screen.h')
-rw-r--r-- | android/multitouch-screen.h | 12 |
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_ */ |