Robin Gujjar
unread,Oct 6, 2009, 11:03:23 PM10/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-porting
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