aboutsummaryrefslogtreecommitdiffstats
path: root/android/display-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/display-core.h')
-rw-r--r--android/display-core.h34
1 files changed, 3 insertions, 31 deletions
diff --git a/android/display-core.h b/android/display-core.h
index edeccac..e6a1b7d 100644
--- a/android/display-core.h
+++ b/android/display-core.h
@@ -18,42 +18,14 @@
#ifndef _ANDROID_DISPLAY_CORE_H
#define _ANDROID_DISPLAY_CORE_H
-#include "android/framebuffer.h"
-#include "android/display.h"
-#include "android/protocol/fb-updates-proxy.h"
-
-/* Descriptor for a core display instance */
-typedef struct CoreDisplay CoreDisplay;
+#include "console.h"
/*
* Initializes one and only one instance of a core display.
- * Param:
+ * Only used to register a dummy display change listener that
+ * will trigger a timer.
* ds - Display state to use for the core display.
*/
extern void coredisplay_init(DisplayState* ds);
-/*
- * Attaches framebuffer service to the core display.
- * Param:
- * core_fb - Framebuffer service descriptor to attach.
- * Return:
- * 0 on success, or -1 on failure.
- */
-extern int coredisplay_attach_fb_service(ProxyFramebuffer* core_fb);
-
-/*
- * Detaches framebuffer service previously attached to the core display.
- * Return:
- * Framebuffer service descriptor attached to the core display, or NULL if
- * the core display didn't have framebuffer service attached to it.
- */
-extern ProxyFramebuffer* coredisplay_detach_fb_service(void);
-
-/*
- * Get framebuffer descriptor for core display.
- * Return:
- * Framebuffer descriptor for core display.
- */
-extern QFrameBuffer* coredisplay_get_framebuffer(void);
-
#endif /* _ANDROID_DISPLAY_CORE_H */