OSDN Git Service

Make Choregrapher happy.
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 24 Jan 2017 02:59:58 +0000 (18:59 -0800)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Tue, 24 Jan 2017 17:44:20 +0000 (09:44 -0800)
commite59ce7ff7843076592f0254bed2020ce8a6ab028
tree4292fb2bea26151007649ef1b4ff161585eec165
parentfce78de2b31ce7e0ed2eed71aaf686d3216acdc2
Make Choregrapher happy.

We currently send Vblank callbacks only when we have a valid commit.
However, Choregrapher seems to expect for every vblank. We now
keep track of vblank events using drmWaitVBlank and send the
callbacks.

Jira: AIA-115.
Test: No complaints from Choregrapher about skipped frames and no
      regressions with test demos on Linux.
18 files changed:
Android.mk
Makefile.sources
common/compositor/compositor.cpp
common/compositor/compositor.h
common/compositor/gl/glrenderer.cpp
common/compositor/gl/glrenderer.h
common/compositor/renderer.h
common/core/gpudevice.cpp
common/core/internaldisplay.cpp
common/core/internaldisplay.h
common/display/displayplanemanager.cpp
common/display/displayplanemanager.h
common/display/pageflipeventhandler.cpp
common/display/pageflipeventhandler.h
common/display/pageflipstate.cpp [deleted file]
common/display/pageflipstate.h [deleted file]
common/utils/hwcthread.cpp
tests/kmscube/kmscube.cpp