OSDN Git Service

Enable support to opt for Double/tripple buffering.
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Sat, 22 Jul 2017 23:10:33 +0000 (19:10 -0400)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Sun, 23 Jul 2017 00:08:44 +0000 (20:08 -0400)
commit618f8dfdd48f8e9722900fe7ec2aee325f71932f
treec7c7b2c06d3ed77ce41991bbfb02f3c566ac3cd0
parent4cd57b97da40f8c0a6c026c470d98192cbd1ff7f
Enable support to opt for Double/tripple buffering.

Android M seems to use double buffering while with 2.0 we expect
triple buffering. Also, our linux tests use double buffering.
Let's have an option for systems to define what they use, this
basically changes the way we wait on kms fence i.e. with double
buffering we poll on it once commit has been done.

Jira: None.
Test: No tearing seen with apps on Linux and HWC1.5.

Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
Android.mk
Makefile.am
common/display/displayqueue.cpp
os/android/iahwc1.cpp