Home
last modified time | relevance | path

Searched refs:mFlinger (Results 1 – 18 of 18) sorted by relevance

/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()
49 mFlinger->mCreateBufferQueue = f; in setCreateBufferQueueFunction()
54 mFlinger->mCreateNativeWindowSurface = f; in setCreateNativeWindowSurface()
64 return mFlinger->createDisplay(displayName, secure); in createDisplay()
67 auto destroyDisplay(const sp<IBinder>& display) { return mFlinger->destroyDisplay(display); } in destroyDisplay()
69 auto resetDisplayState() { return mFlinger->resetDisplayState(); } in resetDisplayState()
75 return mFlinger->setupNewDisplayDeviceInternal(display, hwcId, state, dispSurface, in setupNewDisplayDeviceInternal()
80 return mFlinger->handleTransactionLocked(transactionFlags); in handleTransactionLocked()
85 return mFlinger->onHotplugReceived(sequenceId, display, connection); in onHotplugReceived()
[all …]
DDisplayTransactionTest.cpp111 TestableSurfaceFlinger mFlinger; member in android::__anon968546880111::DisplayTransactionTest
137 mFlinger.mutableHasWideColorDisplay() = false; in DisplayTransactionTest()
138 mFlinger.mutableDisplayColorSetting() = DisplayColorSetting::UNMANAGED; in DisplayTransactionTest()
141 mFlinger.mutableUseHwcVirtualDisplays() = true; in DisplayTransactionTest()
143 mFlinger.setCreateBufferQueueFunction([](auto, auto, auto) { in DisplayTransactionTest()
147 mFlinger.setCreateNativeWindowSurface([](auto) { in DisplayTransactionTest()
152 mFlinger.mutableEventControlThread().reset(mEventControlThread); in DisplayTransactionTest()
153 mFlinger.mutableEventThread().reset(mEventThread); in DisplayTransactionTest()
154 mFlinger.mutableEventQueue().reset(mMessageQueue); in DisplayTransactionTest()
155 mFlinger.setupRenderEngine(std::unique_ptr<RE::RenderEngine>(mRenderEngine)); in DisplayTransactionTest()
[all …]
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp66 mFlinger->getRenderEngine().genTextures(1, &mTextureName); in BufferLayer()
78 mFlinger->deleteTextureAsync(mTextureName); in ~BufferLayer()
89 if (mFlinger->mForceFullDamage) { in useSurfaceDamage()
118 min(mFlinger->getMaxTextureSize(), mFlinger->getMaxViewportDims()); in setBuffers()
177 mFlinger->mDrawingState.traverseInZOrder([&](Layer* layer) { in onDraw()
203 auto& engine(mFlinger->getRenderEngine()); in onDraw()
338 mFlinger->getHwComposer().getRefreshTimestamp(HWC_DISPLAY_PRIMARY); in onPostComposition()
389 mFlinger->setTransactionFlags(eTraversalNeeded); in latchBuffer()
414 mFlinger->signalLayerUpdate(); in latchBuffer()
424 mFlinger->signalLayerUpdate(); in latchBuffer()
[all …]
DClient.cpp43 : mFlinger(flinger), in Client()
62 mFlinger->postMessageAsync(new LambdaMessage([flinger = mFlinger, l]() { in ~Client()
210 sp<MessageBase> msg = new MessageCreateLayer(mFlinger.get(), in createSurface()
213 mFlinger->postMessageSync(msg); in createSurface()
218 return mFlinger->onLayerRemoved(this, handle); in destroySurface()
DMessageQueue.cpp71 mQueue.mFlinger->onMessageReceived(message.what); in handleMessage()
75 mQueue.mFlinger->onMessageReceived(message.what); in handleMessage()
83 mFlinger = flinger; in init()
DMonitoredProducer.cpp28 mFlinger(flinger), in MonitoredProducer()
37 new LambdaMessage([flinger = mFlinger, asBinder = wp<IBinder>(onAsBinder())]() { in ~MonitoredProducer()
42 mFlinger->postMessageAsync(cleanUpListMessage); in ~MonitoredProducer()
DDisplayDevice.cpp233 mFlinger(flinger), in DisplayDevice()
311 return mFlinger != nullptr; in isValid()
335 mFlinger->getRenderEngine().checkErrors(); in flip()
384 bool success = mFlinger->getRenderEngine().setCurrentSurface(*mSurface); in makeCurrent()
393 mFlinger->getRenderEngine().setViewportAndProjection(w, h, sourceCrop, h, in setViewportAndProjection()
613 int primaryDisplayOrientation = mFlinger->getPrimaryDisplayOrientation(); in setProjection()
DLayer.h596 sp<SurfaceFlinger> mFlinger;
602 sp<SurfaceFlinger> mFlinger; variable
608 mFlinger->onLayerDestroyed(mLayer); in ~LayerCleaner()
613 : mFlinger(flinger), mLayer(layer) {} in LayerCleaner()
DClient.h77 sp<SurfaceFlinger> mFlinger; variable
DMessageQueue.h114 sp<SurfaceFlinger> mFlinger; variable
DColorLayer.cpp51 auto& engine(mFlinger->getRenderEngine()); in onDraw()
DMonitoredProducer.h78 sp<SurfaceFlinger> mFlinger; variable
DSurfaceFlinger.cpp967 SurfaceFlinger& mFlinger; in setActiveConfig() member in android::SurfaceFlinger::setActiveConfig::MessageSetActiveConfig
973 mFlinger(flinger), mDisplay(disp) { mMode = mode; } in setActiveConfig()
976 mFlinger.getDisplayConfigs(mDisplay, &configs); in setActiveConfig()
982 sp<DisplayDevice> hw(mFlinger.getDisplayDevice(mDisplay)); in setActiveConfig()
990 mFlinger.setActiveConfigInternal(hw, mMode); in setActiveConfig()
1074 SurfaceFlinger& mFlinger; in setActiveColorMode() member in android::SurfaceFlinger::setActiveColorMode::MessageSetActiveColorMode
1080 mFlinger(flinger), mDisplay(disp) { mMode = mode; } in setActiveColorMode()
1083 mFlinger.getDisplayColorModes(mDisplay, &modes); in setActiveColorMode()
1090 sp<DisplayDevice> hw(mFlinger.getDisplayDevice(mDisplay)); in setActiveColorMode()
1098 mFlinger.setActiveColorModeInternal(hw, mMode, Dataspace::UNKNOWN, in setActiveColorMode()
[all …]
DLayer.cpp77 mFlinger(flinger), in Layer()
180 mFlinger->setTransactionFlags(eTraversalNeeded); in onRemovedFromCurrentState()
215 return new Handle(mFlinger, this); in getHandle()
720 auto& engine(mFlinger->getRenderEngine()); in clearWithOpenGL()
916 mFlinger->setTransactionFlags(eTraversalNeeded); in pushPendingState()
973 mFlinger->setTransactionFlags(eTraversalNeeded); in applyPendingStates()
1380 if (!mFlinger->mDebugDisableTransformHint) { in updateTransformHint()
DSurfaceInterceptor.h175 SurfaceFlinger* const mFlinger; variable
DDisplayDevice.h225 sp<SurfaceFlinger> mFlinger;
DSurfaceInterceptor.cpp39 : mFlinger(flinger) in SurfaceInterceptor()
365 if (mFlinger->authenticateSurfaceTextureLocked(gbp)) { in addSurfaceChangesLocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer_hwc1.h371 sp<SurfaceFlinger> mFlinger; variable