OSDN Git Service

test-hwc2: get display configs and attributes
authorMarissa Wall <marissaw@google.com>
Thu, 15 Dec 2016 20:20:47 +0000 (12:20 -0800)
committerMarissa Wall <marissaw@google.com>
Wed, 8 Mar 2017 21:36:36 +0000 (13:36 -0800)
commitcf935cbfa66ec65a71485e91e63a5929dc2922a1
treed02454c9fa0da291b22db787c137e09cfe82b037
parent1db2e37295cd89946ec5280c1db2dc11bba45ee2
test-hwc2: get display configs and attributes

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