Hi Robin, Can you share how you added multiple framebuffer support to the surfaceflinger?
On Sunday, October 11, 2009 3:35:08 AM UTC+2, Robin Gujjar wrote: > > yep done, Successfully able two play two video on FB0 And FB1. > > --Robin Gujjar > > On Oct 6, 8:03 pm, Robin Gujjar <robin.guj...@gmail.com> 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