Add --deqp-screen-rotation=unspecified cmdline flag.
authorPyry Haulos <phaulos@google.com>
Mon, 20 Oct 2014 20:39:08 +0000 (13:39 -0700)
committerPyry Haulos <phaulos@google.com>
Mon, 20 Oct 2014 21:03:56 +0000 (14:03 -0700)
commit2dac2cccd65e5f837c3433c73c54790e6d0903d3
tree54189ec3a6a4d2fbdf6a38166eed467d8bf11916
parentb548058debb925264d26d2d1d9c4bf17e8c9c575
Add --deqp-screen-rotation=unspecified cmdline flag.

On Android dEQP always sets screen orientation to some known value,
which prevents failures / test run aborts due to screen configuration
changes. This is almost always desired but in some situations user may
want to avoid that. This change adds 'unspecified' value, which means
that the application doesn't request any specific orientation and
the system can freely choose it and even change it during test
execution.

Default value for --deqp-screen-rotation remains '0'.

Change-Id: I3e95213cc12a995ec43912c86a0ab9a01c456920
framework/common/tcuCommandLine.cpp
framework/common/tcuCommandLine.hpp
framework/platform/android/tcuAndroidUtil.cpp
framework/platform/android/tcuAndroidUtil.hpp