Hi Robin, Can you tell us how to create multiple instance of /dev/fb0 ?
Regards, Anil On Wednesday, October 7, 2009 8:33:23 AM UTC+5:30, Robin Gujjar wrote: > > Hi All, > > I am facing flicker problem when i uses multiple frame buffer devices > simultaneously. we have modified the surfaceflinger and ui code for > supporting the multiple framebuffer devices. we have created a > different Graphics plane ( Second DisplayHardware instance based upon > dpy=0 and dpy =1 passed from the client ) for for second frame buffer > devices(fb1). We have Modified the EGLDisplaysurface.cpp code for > supporting multiple frame buffer devices. we have modified the > swapBuffer and mapFramebuffer function for multiple frame buffer > support other then surfaceflinger code . > > In the EGLDisplaysurface.cpp swapBuffer function, we have not done > any modification for the Fb0 data path. But for the FB1 inside > swapBuffer function withoit checking any PAGE_FLIP flag , every time, > i copy the back buffer to the front buffer. other modification for > the Fb1 in swapBuffer is, uses of FBIO_PANDISPLAY and > FBIO_WAITFORVSYNC ioctl without disturbing the Fb0 data path. > > Currently in the mapFramebuffer we have re sized the window 1 (fb1) > as per our requirement also and content of the Fb1 video is coming > on the display. But when we run two video for Fb0 and Fb1 together . > Fb1 content gives the flicker Fb0 content is correctly come on the > screen. > > Can any one please give me some pointer regarding above flicker > problem ? > > thanks and regards > Robin Singh -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.