aboutsummaryrefslogtreecommitdiffstats
path: root/android/display-core.c
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.c
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.c')
-rw-r--r--android/display-core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/android/display-core.c b/android/display-core.c
index 70e7b14..1efb4a2 100644
--- a/android/display-core.c
+++ b/android/display-core.c
@@ -117,3 +117,8 @@ coredisplay_detach_fb_service(void)
return ret;
}
+QFrameBuffer*
+coredisplay_get_framebuffer(void)
+{
+ return core_display.fb;
+}