diff options
author | David 'Digit' Turner <digit@android.com> | 2011-02-02 17:36:34 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-02-02 21:11:55 +0100 |
commit | 07db34976ba1dd045a51c4ab2c7f52479cddcc57 (patch) | |
tree | b669e7b99c01bd8aafd2079321c8cb80302454e0 /android/framebuffer.c | |
parent | 7a5ee57895822a769f48ab40e590711a2459e2d1 (diff) | |
download | external_qemu-07db34976ba1dd045a51c4ab2c7f52479cddcc57.zip external_qemu-07db34976ba1dd045a51c4ab2c7f52479cddcc57.tar.gz external_qemu-07db34976ba1dd045a51c4ab2c7f52479cddcc57.tar.bz2 |
Simplify UI-only sources.
Get rid of console-ui.c, qemu-timer-ui.c and modify vl-android-ui.c
to use a generic Looper object instead of a crummy event loop.
We still need to implement qemu_set_fd_handler for two sources under
android/protocol/ but this will be cleaned up later.
Change-Id: Icd0762675ca2f54e720a9cec40f96caea500b52f
Diffstat (limited to 'android/framebuffer.c')
-rw-r--r-- | android/framebuffer.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/android/framebuffer.c b/android/framebuffer.c index 53c6a48..b9b968e 100644 --- a/android/framebuffer.c +++ b/android/framebuffer.c @@ -281,6 +281,15 @@ qframebuffer_check_updates( void ) } void +qframebuffer_pulse( void ) +{ + int nn; + for (nn = 0; nn < framebuffer_fifo_count; nn++) { + qframebuffer_poll(framebuffer_fifo[nn]); + } +} + +void qframebuffer_invalidate_all( void ) { int nn; |