aboutsummaryrefslogtreecommitdiffstats
path: root/vl-android-ui.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2011-01-31 10:49:06 -0800
committerVladimir Chtchetkine <vchtchetkine@google.com>2011-01-31 10:49:06 -0800
commit94a2fba98924c6684650d66409934358cb0c9d09 (patch)
tree61438a0563eb274091cf81fe6136a35973495e8f /vl-android-ui.c
parentf988ac730fecefbd7590d3a8068c9e80fc53e026 (diff)
downloadexternal_qemu-94a2fba98924c6684650d66409934358cb0c9d09.zip
external_qemu-94a2fba98924c6684650d66409934358cb0c9d09.tar.gz
external_qemu-94a2fba98924c6684650d66409934358cb0c9d09.tar.bz2
Refactor the framebuffer service
Change-Id: I8ac4580af65b8d58976c97b77b309dd202e75003
Diffstat (limited to 'vl-android-ui.c')
-rw-r--r--vl-android-ui.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/vl-android-ui.c b/vl-android-ui.c
index 828590d..c1ef7ae 100644
--- a/vl-android-ui.c
+++ b/vl-android-ui.c
@@ -42,7 +42,7 @@
#include "android/utils/bufprint.h"
#include "android/utils/system.h"
#include "android/core-connection.h"
-#include "android/framebuffer-ui.h"
+#include "android/protocol/fb-updates-impl.h"
#ifdef CONFIG_MEMCHECK
#include "memcheck/memcheck.h"
@@ -206,8 +206,6 @@ 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)
@@ -603,10 +601,7 @@ int main(int argc, char **argv, char **envp)
core_connection_free(attach_client);
}
- if (fb_client != NULL) {
- clientfb_destroy(fb_client);
- fb_client = NULL;
- }
+ implFb_destroy();
quit_timers();
return 0;