Hello Matry,

>
> BTW, in patched omapfb_main.c, I just can see the y_virtual is doubled
> for page flipping.
> However, I can't find the code that change the pointer to switch the
> start address of FB between 2 FBs.

      The user space graphics library (I guess its Surfaceflinger in
Android), calls the generic "fb_pan_display" with 2 different values
of "yoffset" for every alternative invocation (ex: value "0" for the
odd invocation and value "480" for even invocation). This routine
would in-turn call the "omapfb_pan_display" and that would invoke
"ctrl_change_mode" function with the given "yoffset". This function
would compute and switch the pointer to the new start address of the
fb based on the updated "yoffset" and calls the "setup_plane" function
of the display controller (pls refer dispc.c under drivers/video/omap
directory ) and rest is history!!

Hope this may answer your question.

Warm Regards,
Anil

>
> Thank you!!!
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Internals" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to