OSDN Git Service

HWC2: Hook up setColorTransform/setLayerDataspace
authorDan Stoza <stoza@google.com>
Thu, 24 Mar 2016 23:19:37 +0000 (16:19 -0700)
committerDan Stoza <stoza@google.com>
Wed, 4 May 2016 20:46:36 +0000 (13:46 -0700)
commit5df2a86063c6a83813fc1aa3d8938a82f7ff8f14
treee65fb7644eb4b890d9c841a43b8c615ca65e2d4e
parent0b546c408686e4353dfe4b3a12be1048b966944d
HWC2: Hook up setColorTransform/setLayerDataspace

Plumbs the setColorTransform and setLayerDataspace calls through the
HWC2 C++ shim and implements a trivial versions in the adapter,
which drops non-HAL_DATASPACE_UNKNOWN layers to client composition,
and which drops all layers to client composition if a color transform
is applied.

Bug: 22767098
Change-Id: Ifffd19b77cf3b33ec86fde3f72257f6b97b4dd79
services/surfaceflinger/DisplayHardware/HWC2.cpp
services/surfaceflinger/DisplayHardware/HWC2.h
services/surfaceflinger/DisplayHardware/HWC2On1Adapter.cpp
services/surfaceflinger/DisplayHardware/HWC2On1Adapter.h