Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp77 ui::RenderIntent renderIntent) { in setColorMode() argument
79 renderIntent == getState().renderIntent) { in setColorMode()
88 Output::setColorMode(mode, dataspace, renderIntent); in setColorMode()
91 hwc.setActiveColorMode(*mId, mode, renderIntent); in setColorMode()
DOutput.cpp107 ui::RenderIntent renderIntent) { in setColorMode() argument
109 mState.renderIntent == renderIntent) { in setColorMode()
115 mState.renderIntent = renderIntent; in setColorMode()
120 decodeColorMode(mode).c_str(), mode, decodeRenderIntent(renderIntent).c_str(), in setColorMode()
121 renderIntent); in setColorMode()
DOutputCompositionState.cpp44 dumpVal(out, "renderIntent", toString(renderIntent), renderIntent); in dump()
DDisplayColorProfile.cpp343 return iter != mColorModes.end() && iter->second.renderIntent == intent; in hasRenderIntent()
364 *outIntent = iter->second.renderIntent; in getBestColorMode()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp149 ASSERT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F()
157 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F()
171 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mDisplay.getState().renderIntent); in TEST_F()
183 EXPECT_EQ(ui::RenderIntent::COLORIMETRIC, virtualDisplay.getState().renderIntent); in TEST_F()
DDisplayColorProfileTest.cpp127 ProfileFactory& addColorModeRenderIntent(ColorMode colorMode, RenderIntent renderIntent) { in addColorModeRenderIntent() argument
128 mSupportedColorModes[colorMode].emplace_back(renderIntent); in addColorModeRenderIntent()
135 for (auto renderIntent : renderIntents) { in addColorModeRenderIntents() local
136 profileedRenderIntents.emplace_back(renderIntent); in addColorModeRenderIntents()
DOutputTest.cpp215 EXPECT_EQ(ui::RenderIntent::TONE_MAP_COLORIMETRIC, mOutput.getState().renderIntent); in TEST_F()
222 mOutput.editState().renderIntent = ui::RenderIntent::TONE_MAP_COLORIMETRIC; in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputCompositionState.h89 ui::RenderIntent renderIntent{ui::RenderIntent::COLORIMETRIC};
DDisplayColorProfile.h71 ui::RenderIntent renderIntent; member
/frameworks/native/libs/ui/include/ui/
DDebugUtils.h35 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
/frameworks/native/libs/ui/include_vndk/ui/
DDebugUtils.h35 std::string decodeRenderIntent(android::ui::RenderIntent renderIntent);
/frameworks/native/libs/ui/
DDebugUtils.cpp310 std::string decodeRenderIntent(RenderIntent renderIntent) { in decodeRenderIntent() argument
311 switch(renderIntent) { in decodeRenderIntent()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.h170 ui::RenderIntent renderIntent) = 0;
303 ui::RenderIntent renderIntent) override;
DHWComposer.cpp349 ui::RenderIntent renderIntent) { in setActiveColorMode() argument
353 auto error = displayData.hwcDisplay->setColorMode(mode, renderIntent); in setActiveColorMode()
355 decodeRenderIntent(renderIntent) + ")") in setActiveColorMode()
DHWC2.h253 android::ui::ColorMode mode, android::ui::RenderIntent renderIntent) = 0;
316 android::ui::RenderIntent renderIntent) override;
DComposerHal.h138 virtual Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) = 0;
353 Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) override;
DComposerHal.cpp588 RenderIntent renderIntent) in setColorMode() argument
592 ret = mClient_2_3->setColorMode_2_3(display, mode, renderIntent); in setColorMode()
595 renderIntent); in setColorMode()
DHWC2.cpp619 Error Display::setColorMode(ColorMode mode, RenderIntent renderIntent) in setColorMode() argument
621 auto intError = mComposer.setColorMode(mId, mode, renderIntent); in setColorMode()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1193 void setInputRenderIntent(ui::RenderIntent renderIntent) { mInputRenderIntent = renderIntent; } in setInputRenderIntent() argument
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1838 RenderIntent renderIntent; in calculateWorkingSet() local
1839 pickColorMode(displayDevice, &colorMode, &targetDataspace, &renderIntent); in calculateWorkingSet()
1840 display->setColorMode(colorMode, targetDataspace, renderIntent); in calculateWorkingSet()