Home
last modified time | relevance | path

Searched refs:renderIntents (Results 1 – 5 of 5) sorted by relevance

/aosp12/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
H A DExynosPrimaryDisplayModule.cpp192 auto &renderIntents = it->second; in getRenderIntents() local
194 *outNumIntents = renderIntents.size(); in getRenderIntents()
195 ALOGD("\tintent num(%zu)", renderIntents.size()); in getRenderIntents()
198 if (*outNumIntents != renderIntents.size()) { in getRenderIntents()
200 __func__, *outNumIntents, renderIntents.size()); in getRenderIntents()
204 for (uint32_t i = 0; i < renderIntents.size(); i++) in getRenderIntents()
206 outIntents[i] = static_cast<uint32_t>(renderIntents[i]); in getRenderIntents()
233 auto &renderIntents = mode_it->second; in setColorModeWithRenderIntent() local
234 auto intent_it = std::find(renderIntents.begin(), in setColorModeWithRenderIntent()
235 renderIntents.end(), renderIntent); in setColorModeWithRenderIntent()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DDisplayDevice_GetBestColorModeTest.cpp37 std::vector<ui::RenderIntent> renderIntents) { in addHwcColorModesMapping() argument
38 mHwcColorModes[colorMode] = renderIntents; in addHwcColorModesMapping()
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp727 std::vector<ui::RenderIntent> renderIntents; in getRenderIntents() local
728 auto error = mDisplayData.at(displayId).hwcDisplay->getRenderIntents(colorMode, &renderIntents); in getRenderIntents()
730 return renderIntents; in getRenderIntents()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
H A DDisplayColorProfileTest.cpp104 std::initializer_list<RenderIntent> renderIntents) { in addColorModeRenderIntents() argument
106 for (auto renderIntent : renderIntents) { in addColorModeRenderIntents()
/aosp12/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2705 std::vector<RenderIntent> renderIntents = in setupNewDisplayDeviceInternal() local
2707 creationArgs.hwcColorModes.emplace(colorMode, renderIntents); in setupNewDisplayDeviceInternal()