Hi All,
I am working on omap4430 (blaze board) platform. I have a query regard opening second frame buffer from android framework code. I have looked into the source and come to the conclusion like as follows:
when surface flinger thread starts basically it is trying to intialize the Display Hardware and eventually it went to FramebufferNativeWindow.cpp where it is calling hw_module_get of libhardware to load the HAL module, gralloc which basically open the framebuffer and return framebuffer_cntrl_t structure from there it is intialising windows stuff. My question , I tried with FramebufferNatvieWindow(uint32 dpy) to load respecive framebuffer instead of FramebufferNativeWindow() but when I am trying to use this call it is not able to return framebuffer_cntrl_t structure and giving the error : could n't open framebuffer HAL module....
Please help me to open the second frame buffer using the framework code(I am using L27.G.4 release). I tried with fbtest programme and able to write to second frame buffer(H/w configuration is fb0-over0-mang0-panel0, fb1-over1-mang2-panel1)
Thanks & Regards,
Kamal