Home
last modified time | relevance | path

Searched refs:renderIntent (Results 1 – 20 of 20) sorted by relevance

/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/
H A DOutputCompositionState.cpp53 dumpVal(out, "renderIntent", toString(renderIntent), renderIntent); in dump()
H A DDisplay.cpp115 colorProfile.renderIntent == getState().renderIntent && in setColorProfile()
130 colorProfile.renderIntent); in setColorProfile()
H A DOutput.cpp257 outputState.renderIntent == colorProfile.renderIntent && in setColorProfile()
264 outputState.renderIntent = colorProfile.renderIntent; in setColorProfile()
271 decodeRenderIntent(colorProfile.renderIntent).c_str(), colorProfile.renderIntent); in setColorProfile()
H A DDisplayColorProfile.cpp343 return iter != mColorModes.end() && iter->second.renderIntent == intent; in hasRenderIntent()
364 *outIntent = iter->second.renderIntent; in getBestColorMode()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DDisplayDevice_GetBestColorModeTest.cpp43 void setInputRenderIntent(ui::RenderIntent renderIntent) { mInputRenderIntent = renderIntent; } in setInputRenderIntent() argument
/aosp12/frameworks/native/libs/ui/include/ui/
H A DDebugUtils.h36 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
/aosp12/frameworks/native/libs/ui/include_vndk/ui/
H A DDebugUtils.h36 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
H A DOutputCompositionState.h111 ui::RenderIntent renderIntent{ui::RenderIntent::COLORIMETRIC};
H A DDisplayColorProfile.h73 ui::RenderIntent renderIntent; member
/aosp12/frameworks/native/libs/ui/
H A DDebugUtils.cpp310 std::string decodeRenderIntent(RenderIntent renderIntent) { in decodeRenderIntent() argument
311 switch(renderIntent) { in decodeRenderIntent()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
H A DDisplayColorProfileTest.cpp98 ProfileFactory& addColorModeRenderIntent(ColorMode colorMode, RenderIntent renderIntent) { in addColorModeRenderIntent() argument
99 mSupportedColorModes[colorMode].emplace_back(renderIntent); in addColorModeRenderIntent()
106 for (auto renderIntent : renderIntents) { in addColorModeRenderIntents() local
107 profileedRenderIntents.emplace_back(renderIntent); in addColorModeRenderIntents()
H A DDisplayTest.cpp396 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F()
405 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F()
421 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mDisplay->getState().renderIntent); in TEST_F()
446 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, virtualDisplay->getState().renderIntent); in TEST_F()
H A DOutputTest.cpp174 toString(profile.renderIntent).c_str(), profile.renderIntent, in dumpColorProfile()
188 (expected.renderIntent == arg.renderIntent) &&
525 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mOutput->getState().renderIntent); in TEST_F()
541 mOutput->editState().renderIntent = ui::RenderIntent::TONE_MAP_COLORIMETRIC; in TEST_F()
1878 ui::ColorMode colorMode, ui::Dataspace dataspace, ui::RenderIntent renderIntent) { in expectBestColorModeCallResultUsedToSetColorProfile()
1883 SetArgPointee<4>(renderIntent))); in expectBestColorModeCallResultUsedToSetColorProfile()
1886 ColorProfileEq(ColorProfile{colorMode, dataspace, renderIntent, in expectBestColorModeCallResultUsedToSetColorProfile()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
H A DOutput.h133 ui::RenderIntent renderIntent{ui::RenderIntent::COLORIMETRIC};
/aosp12/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
H A DExynosPrimaryDisplayModule.cpp224 hwc::RenderIntent renderIntent = in setColorModeWithRenderIntent() local
235 renderIntents.end(), renderIntent); in setColorModeWithRenderIntent()
242 mDisplaySceneInfo.setRenderIntent(renderIntent); in setColorModeWithRenderIntent()
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp414 ui::RenderIntent renderIntent) { in setActiveColorMode() argument
418 auto error = displayData.hwcDisplay->setColorMode(mode, renderIntent); in setActiveColorMode()
420 decodeRenderIntent(renderIntent) + ")") in setActiveColorMode()
H A DComposerHal.h141 virtual Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) = 0;
385 Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) override;
H A DComposerHal.cpp531 RenderIntent renderIntent) in setColorMode() argument
535 ret = mClient_2_3->setColorMode_2_3(display, mode, renderIntent); in setColorMode()
538 renderIntent); in setColorMode()
H A DHWC2.cpp418 Error Display::setColorMode(ColorMode mode, RenderIntent renderIntent) in setColorMode() argument
420 auto intError = mComposer.setColorMode(mId, mode, renderIntent); in setColorMode()
H A DHWC2.h125 hal::ColorMode mode, hal::RenderIntent renderIntent) = 0;