Home
last modified time | relevance | path

Searched refs:creationArgs (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/
DSurfaceFlingerDefaultFactory.cpp55 sp<DisplayDevice> DefaultFactory::createDisplayDevice(DisplayDeviceCreationArgs& creationArgs) { in createDisplayDevice() argument
56 return sp<DisplayDevice>::make(creationArgs); in createDisplayDevice()
DSurfaceFlinger.cpp3716 DisplayDeviceCreationArgs creationArgs(sp<SurfaceFlinger>::fromExisting(this), getHwComposer(), in setupNewDisplayDeviceInternal() local
3718 creationArgs.sequenceId = state.sequenceId; in setupNewDisplayDeviceInternal()
3719 creationArgs.isSecure = state.isSecure; in setupNewDisplayDeviceInternal()
3720 creationArgs.isProtected = state.isProtected; in setupNewDisplayDeviceInternal()
3721 creationArgs.displaySurface = displaySurface; in setupNewDisplayDeviceInternal()
3722 creationArgs.hasWideColorGamut = false; in setupNewDisplayDeviceInternal()
3723 creationArgs.supportedPerFrameMetadata = 0; in setupNewDisplayDeviceInternal()
3728 creationArgs.isPrimary = physicalId == getPrimaryDisplayIdLocked(); in setupNewDisplayDeviceInternal()
3729 creationArgs.refreshRateSelector = in setupNewDisplayDeviceInternal()
3737 creationArgs.hasWideColorGamut |= ui::isWideColorMode(mode); in setupNewDisplayDeviceInternal()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h100 sp<DisplayDevice> createDisplayDevice(DisplayDeviceCreationArgs& creationArgs) override { in createDisplayDevice() argument
101 return sp<DisplayDevice>::make(creationArgs); in createDisplayDevice()
605 DisplayDeviceCreationArgs creationArgs(mFlinger, mFlinger->getHwComposer(), displayToken, in createVirtualDisplayDevice()
607 creationArgs.requestedRefreshRate = Fps::fromValue(requestedRefreshRate); in createVirtualDisplayDevice()
608 creationArgs.nativeWindow = sp<mock::NativeWindow>::make(); in createVirtualDisplayDevice()
609 return sp<DisplayDevice>::make(creationArgs); in createVirtualDisplayDevice()