OSDN Git Service

test-hwc2: set layer source crop
authorMarissa Wall <marissaw@google.com>
Thu, 15 Dec 2016 20:31:12 +0000 (12:31 -0800)
committerMarissa Wall <marissaw@google.com>
Wed, 8 Mar 2017 21:36:36 +0000 (13:36 -0800)
commitc57468f1f6dfc870bea10e814a686793e64f6cf3
tree266ff77ac61e0bb575ee179bd49350a8ead2d56f
parent600a73b6110d6fdcebe072a9d8e2dbbe6de1c6b7
test-hwc2: set layer source crop

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: If3079efd7a035d1d182f04c56dc55300cdcedc47
services/surfaceflinger/tests/hwc2/Hwc2Test.cpp
services/surfaceflinger/tests/hwc2/Hwc2TestLayer.cpp
services/surfaceflinger/tests/hwc2/Hwc2TestLayer.h
services/surfaceflinger/tests/hwc2/Hwc2TestProperties.cpp
services/surfaceflinger/tests/hwc2/Hwc2TestProperties.h