Home
last modified time | relevance | path

Searched refs:colorTransformMatrix (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DCompositionRefreshArgs.h76 std::optional<mat4> colorTransformMatrix; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputCompositionState.h105 mat4 colorTransformMatrix; member
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputCompositionState.cpp55 dumpVal(out, "colorTransformMatrix", colorTransformMatrix); in dump()
DOutput.cpp233 auto& colorTransformMatrix = editState().colorTransformMatrix; in setColorTransform() local
234 if (!args.colorTransformMatrix || colorTransformMatrix == args.colorTransformMatrix) { in setColorTransform()
238 colorTransformMatrix = *args.colorTransformMatrix; in setColorTransform()
1069 clientCompositionDisplay.colorTransform = outputState.colorTransformMatrix; in composeSurfaces()
DDisplay.cpp98 if (mIsDisconnected || !halDisplayId || CC_LIKELY(!args.colorTransformMatrix)) { in setColorTransform()
103 status_t result = hwc.setColorTransform(*halDisplayId, *args.colorTransformMatrix); in setColorTransform()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp424 mOutput->editState().colorTransformMatrix = kIdentity; in TEST_F()
428 refreshArgs.colorTransformMatrix = std::nullopt; in TEST_F()
433 EXPECT_EQ(kIdentity, mOutput->getState().colorTransformMatrix); in TEST_F()
440 mOutput->editState().colorTransformMatrix = kIdentity; in TEST_F()
445 refreshArgs.colorTransformMatrix = kIdentity; in TEST_F()
450 EXPECT_EQ(kIdentity, mOutput->getState().colorTransformMatrix); in TEST_F()
457 mOutput->editState().colorTransformMatrix = kNonIdentityHalf; in TEST_F()
461 refreshArgs.colorTransformMatrix = kIdentity; in TEST_F()
466 EXPECT_EQ(kIdentity, mOutput->getState().colorTransformMatrix); in TEST_F()
473 mOutput->editState().colorTransformMatrix = kIdentity; in TEST_F()
[all …]
DDisplayTest.cpp354 refreshArgs.colorTransformMatrix = std::nullopt; in TEST_F()
363 refreshArgs.colorTransformMatrix = kIdentity; in TEST_F()
372 refreshArgs.colorTransformMatrix = kNonIdentity; in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2083 refreshArgs.colorTransformMatrix = mDrawingState.colorMatrix; in onMessageRefresh()