Arun Kumar K.R cc18cfed4c hwc/fb/overlay: wait for fbpost and pan display
Draw sequence in hwc_set
--eglSwapBuffers
--wait for fb_post. Its ok to draw to External only at this point.
--draw to external   | Parallel with PAN
--commit to external | Parallel with PAN
--wait for pan (happening in fb_post) to finish.

Call MSMFB_OVERLAY_SET ioctl only when params change.

These thing together ensure a correct sequence and should fix tearing and
stuttering, the latter assuming there are no other display pipeline delays.

Change-Id: Ibb0ad8485fa6b30dc6ac07ae8b25a760941c08ce
(cherry picked from commit c50c90863e41e31ecfe6963396b5def35e9dca34)
2012-09-12 22:58:18 -05:00
..
2012-07-31 22:18:18 -06:00
2012-07-10 02:03:45 -06:00
2012-08-02 23:16:45 -05:00
2012-07-31 22:18:18 -06:00
2012-07-12 17:24:05 -05:00
2012-08-02 23:16:45 -05:00
2012-07-31 22:18:18 -06:00
2012-07-10 02:03:26 -06:00
2012-08-02 23:16:45 -05:00