Home
last modified time | relevance | path

Searched refs:getBE (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp80 if (!getBE().mHwcLayers.empty()) { in ~BufferLayer()
101 const sp<GraphicBuffer>& buffer(getBE().compositionInfo.mBuffer); in isProtected()
108 (getBE().compositionInfo.mBuffer != nullptr || in isVisible()
109 getBE().compositionInfo.hwc.sidebandStream != nullptr); in isVisible()
165 if (CC_UNLIKELY(getBE().compositionInfo.mBuffer == 0)) { in onDraw()
243 mTexture.setDimensions(getBE().compositionInfo.mBuffer->getWidth(), in onDraw()
244 getBE().compositionInfo.mBuffer->getHeight()); in onDraw()
386 getBE().compositionInfo.hwc.sidebandStream = mSidebandStream; in latchBuffer()
387 if (getBE().compositionInfo.hwc.sidebandStream != nullptr) { in latchBuffer()
421 sp<GraphicBuffer> oldBuffer = getBE().compositionInfo.mBuffer; in latchBuffer()
[all …]
DSurfaceFlinger.cpp668 getBE().mRenderEngine = in init()
673 LOG_ALWAYS_FATAL_IF(getBE().mRenderEngine == nullptr, "couldn't create RenderEngine"); in init()
677 getBE().mHwc.reset( in init()
678 new HWComposer(std::make_unique<Hwc2::impl::Composer>(getBE().mHwcServiceName))); in init()
679 getBE().mHwc->registerCallback(this, getBE().mComposerSequenceId); in init()
682 LOG_ALWAYS_FATAL_IF(!getBE().mHwc->isConnected(HWC_DISPLAY_PRIMARY), in init()
704 mVrFlinger = dvr::VrFlinger::Create(getBE().mHwc->getComposer(), in init()
705 getBE().mHwc->getHwcDisplayId(HWC_DISPLAY_PRIMARY).value_or(0), in init()
721 getBE().mRenderEngine->primeCache(); in init()
735 mLegacySrgbSaturationMatrix = getBE().mHwc->getDataspaceSaturationMatrix(HWC_DISPLAY_PRIMARY, in init()
[all …]
DLayer.cpp223 LOG_ALWAYS_FATAL_IF(getBE().mHwcLayers.count(hwcId) != 0, in createHwcLayer()
229 LayerBE::HWCInfo& hwcInfo = getBE().mHwcLayers[hwcId]; in createHwcLayer()
233 [this, hwcId](HWC2::Layer* /*layer*/) { getBE().mHwcLayers.erase(hwcId); }); in createHwcLayer()
238 if (getBE().mHwcLayers.count(hwcId) == 0) { in destroyHwcLayer()
241 auto& hwcInfo = getBE().mHwcLayers[hwcId]; in destroyHwcLayer()
247 LOG_ALWAYS_FATAL_IF(getBE().mHwcLayers.count(hwcId) != 0, in destroyHwcLayer()
253 size_t numLayers = getBE().mHwcLayers.size(); in destroyAllHwcLayers()
255 LOG_ALWAYS_FATAL_IF(getBE().mHwcLayers.empty(), "destroyAllHwcLayers failed"); in destroyAllHwcLayers()
256 destroyHwcLayer(getBE().mHwcLayers.begin()->first); in destroyAllHwcLayers()
258 LOG_ALWAYS_FATAL_IF(!getBE().mHwcLayers.empty(), in destroyAllHwcLayers()
[all …]
DLayer.h145 LayerBE& getBE() { return mBE; } in getBE() function
146 LayerBE& getBE() const { return mBE; } in getBE() function
515 return getBE().mHwcLayers.count(hwcId) > 0; in hasHwcLayer()
519 if (getBE().mHwcLayers.count(hwcId) == 0) { in getHwcLayer()
522 return getBE().mHwcLayers[hwcId].layer; in getHwcLayer()
DColorLayer.cpp69 auto& hwcInfo = getBE().mHwcLayers[hwcId]; in setPerFrameData()
DSurfaceFlinger.h235 SurfaceFlingerBE& getBE() { return mBE; } in getBE() function
236 const SurfaceFlingerBE& getBE() const { return mBE; } in getBE() function
339 RE::RenderEngine& getRenderEngine() const { return *getBE().mRenderEngine; } in getRenderEngine()
640 HWComposer& getHwComposer() const { return *getBE().mHwc; } in getHwComposer()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h40 mFlinger->getBE().mRenderEngine = std::move(renderEngine); in setupRenderEngine()
44 mFlinger->getBE().mHwc.reset(new HWComposer(std::move(composer))); in setupComposer()
105 const auto& getCompositorTiming() const { return mFlinger->getBE().mCompositorTiming; } in getCompositorTiming()
130 auto& mutableComposerSequenceId() { return mFlinger->getBE().mComposerSequenceId; } in mutableComposerSequenceId()
131 auto& mutableHwcDisplayData() { return mFlinger->getBE().mHwc->mDisplayData; } in mutableHwcDisplayData()
132 auto& mutableHwcDisplaySlots() { return mFlinger->getBE().mHwc->mHwcDisplaySlots; } in mutableHwcDisplaySlots()
144 mFlinger->getBE().mHwc.reset(); in ~TestableSurfaceFlinger()
145 mFlinger->getBE().mRenderEngine.reset(); in ~TestableSurfaceFlinger()