diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-12-20 08:28:03 -0800 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-12-20 08:28:03 -0800 |
commit | e95660aadc669784406d5f5a867988b8ecc2ed0d (patch) | |
tree | 480b3feaa14f6d392ceed62dba9cd0334dcba48d /vl-android-ui.c | |
parent | aec5741a217d98db6007219c4e28dc24d3ecdb03 (diff) | |
download | external_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.zip external_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.tar.gz external_qemu-e95660aadc669784406d5f5a867988b8ecc2ed0d.tar.bz2 |
Resubmit framebuffer service implementation
Change-Id: I184e27a1e8d88835bc9f0502eccfa3f64a7aaf9e
Diffstat (limited to 'vl-android-ui.c')
-rw-r--r-- | vl-android-ui.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vl-android-ui.c b/vl-android-ui.c index 316902c..828590d 100644 --- a/vl-android-ui.c +++ b/vl-android-ui.c @@ -42,6 +42,7 @@ #include "android/utils/bufprint.h" #include "android/utils/system.h" #include "android/core-connection.h" +#include "android/framebuffer-ui.h" #ifdef CONFIG_MEMCHECK #include "memcheck/memcheck.h" @@ -205,6 +206,8 @@ extern void dprint( const char* format, ... ); /* Instance of the "attach UI" Emulator's core console client. */ extern CoreConnection* attach_client; +/* Instance of the "framebuffer" console client. */ +extern ClientFramebuffer* fb_client; #define TFR(expr) do { if ((expr) != -1) break; } while (errno == EINTR) @@ -600,6 +603,11 @@ int main(int argc, char **argv, char **envp) core_connection_free(attach_client); } + if (fb_client != NULL) { + clientfb_destroy(fb_client); + fb_client = NULL; + } + quit_timers(); return 0; } |