Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp90 : mHwcDevice(std::make_unique<HWC2::Device>(std::move(composer))) {} in HWComposer()
96 mHwcDevice->registerCallback(callback, sequenceId); in registerCallback()
101 return mHwcDevice->getCapabilities().count(capability) > 0; in hasCapability()
144 mHwcDevice->onHotplug(displayId, connection); in onHotplug()
148 mDisplayData[displayType].hwcDisplay = mHwcDevice->getDisplayById(displayId); in onHotplug()
155 auto display = mHwcDevice->getDisplayById(displayId); in onVsync()
225 auto error = mHwcDevice->createVirtualDisplay(width, height, format, in allocateVirtualDisplay()
582 auto error = mHwcDevice->flushCommands(); in presentAndGetReleaseFences()
702 mHwcDevice->destroyDisplay(hwcId); in disconnectDisplay()
797 result.append(mHwcDevice->dump().c_str()); in dump()
DHWComposer.h179 android::Hwc2::Composer* getComposer() const { return mHwcDevice->getComposer(); } in getComposer()
216 std::unique_ptr<HWC2::Device> mHwcDevice; variable
225 uint32_t mRemainingHwcVirtualDisplays{mHwcDevice->getMaxVirtualDisplayCount()};