OSDN Git Service

test-hwc2: virtual displays
authorMarissa Wall <marissaw@google.com>
Tue, 21 Feb 2017 22:33:46 +0000 (14:33 -0800)
committerMarissa Wall <marissaw@google.com>
Wed, 8 Mar 2017 22:57:33 +0000 (14:57 -0800)
commitbad1bc78ef50648fadbe725a1fe1c28d62097351
tree976913e1b8a13154bceb68b43750d412b0fa8c4f
parent35040c559d26d00d6123c894cfc9573b0a5aa860
test-hwc2: virtual displays

Test: Add "#define HAVE_NO_SURFACE_FLINGER" to
      frameworks/native/libs/gui/BufferQueueCore.cpp.
      Recompile and flash.
      Run "mm" in frameworks/native/services/surfaceflinger/tests/hwc2.
      Push test-hwc2 to device.
      Run "adb root && adb shell stop".
      Run test case. Ex: "./test-hwc2"

Change-Id: Ia10ec761712ee03f56782e3df2d6eabf7fb77760
services/surfaceflinger/tests/hwc2/Android.mk
services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
services/surfaceflinger/tests/hwc2/Hwc2TestProperties.cpp
services/surfaceflinger/tests/hwc2/Hwc2TestProperties.h
services/surfaceflinger/tests/hwc2/Hwc2TestVirtualDisplay.cpp [new file with mode: 0644]
services/surfaceflinger/tests/hwc2/Hwc2TestVirtualDisplay.h [new file with mode: 0644]