aboutsummaryrefslogtreecommitdiffstats
path: root/android/display-core.h
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2010-12-21 07:14:17 -0800
committerVladimir Chtchetkine <vchtchetkine@google.com>2010-12-21 07:14:17 -0800
commit8acf4e2237c2969647f47008344e44918bb30acb (patch)
tree359a05389c68554a685cdf9785e40c7715102985 /android/display-core.h
parenta5cc141b87ce54029fd55213b42a5cd25bf0a274 (diff)
downloadexternal_qemu-8acf4e2237c2969647f47008344e44918bb30acb.zip
external_qemu-8acf4e2237c2969647f47008344e44918bb30acb.tar.gz
external_qemu-8acf4e2237c2969647f47008344e44918bb30acb.tar.bz2
Pass bits per pixel tu UI when it gets attached to core framebuffer
Instead of passing bits per pixel property in each and every framebuffer notification message, do it once when UI attaches to the core's framebuffer service. Change-Id: Ic1f6d9796b64d40518f09f5a5341f8359ff817b7
Diffstat (limited to 'android/display-core.h')
-rw-r--r--android/display-core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/android/display-core.h b/android/display-core.h
index 02301c5..4e1d07f 100644
--- a/android/display-core.h
+++ b/android/display-core.h
@@ -49,4 +49,11 @@ extern int coredisplay_attach_fb_service(CoreFramebuffer* core_fb);
*/
extern CoreFramebuffer* 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 */