From e95660aadc669784406d5f5a867988b8ecc2ed0d Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Mon, 20 Dec 2010 08:28:03 -0800 Subject: Resubmit framebuffer service implementation Change-Id: I184e27a1e8d88835bc9f0502eccfa3f64a7aaf9e --- vl-android-ui.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vl-android-ui.c') 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; } -- cgit v1.1