Home
last modified time | relevance | path

Searched refs:mHwcDevice (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp63 : mHwcDevice(), in HWComposer()
76 mHwcDevice = std::make_unique<HWC2::Device>(useVrComposer); in HWComposer()
77 mRemainingHwcVirtualDisplays = mHwcDevice->getMaxVirtualDisplayCount(); in HWComposer()
84 mHwcDevice->registerCallback(callback, sequenceId); in registerCallback()
89 return mHwcDevice->getCapabilities().count(capability) > 0; in hasCapability()
126 mHwcDevice->onHotplug(displayId, connection); in onHotplug()
130 mDisplayData[0].hwcDisplay = mHwcDevice->getDisplayById(displayId); in onHotplug()
136 mDisplayData[1].hwcDisplay = mHwcDevice->getDisplayById(displayId); in onHotplug()
144 auto display = mHwcDevice->getDisplayById(displayId); in onVsync()
214 auto error = mHwcDevice->createVirtualDisplay(width, height, format, in allocateVirtualDisplay()
[all …]
DHWComposer.h168 android::Hwc2::Composer* getComposer() const { return mHwcDevice->getComposer(); } in getComposer()
200 std::unique_ptr<HWC2::Device> mHwcDevice; variable