OSDN Git Service

test-hwc2: create and destroy layers
authorMarissa Wall <marissaw@google.com>
Thu, 15 Dec 2016 20:19:39 +0000 (12:19 -0800)
committerMarissa Wall <marissaw@google.com>
Wed, 8 Mar 2017 21:36:36 +0000 (13:36 -0800)
commit1db2e37295cd89946ec5280c1db2dc11bba45ee2
tree808d35bba95a685fa1e23ce179e20d9c6fa1dc8a
parentcfb9a07ff9bcc36afc08cef5874344aec03f18fa
test-hwc2: create and destroy layers

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: I508174a871a74d4c4d2843fc0ded84c517553bce
services/surfaceflinger/tests/hwc2/Hwc2Test.cpp