From 8acf4e2237c2969647f47008344e44918bb30acb Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Tue, 21 Dec 2010 07:14:17 -0800 Subject: 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 --- android/display-core.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'android/display-core.c') 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; +} -- cgit v1.1