/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableSurfaceFlinger.h | 40 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 …]
|
D | DisplayTransactionTest.cpp | 111 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/ |
D | BufferLayer.cpp | 66 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 …]
|
D | Client.cpp | 43 : 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()
|
D | MessageQueue.cpp | 71 mQueue.mFlinger->onMessageReceived(message.what); in handleMessage() 75 mQueue.mFlinger->onMessageReceived(message.what); in handleMessage() 83 mFlinger = flinger; in init()
|
D | MonitoredProducer.cpp | 28 mFlinger(flinger), in MonitoredProducer() 37 new LambdaMessage([flinger = mFlinger, asBinder = wp<IBinder>(onAsBinder())]() { in ~MonitoredProducer() 42 mFlinger->postMessageAsync(cleanUpListMessage); in ~MonitoredProducer()
|
D | DisplayDevice.cpp | 233 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()
|
D | Layer.h | 596 sp<SurfaceFlinger> mFlinger; 602 sp<SurfaceFlinger> mFlinger; variable 608 mFlinger->onLayerDestroyed(mLayer); in ~LayerCleaner() 613 : mFlinger(flinger), mLayer(layer) {} in LayerCleaner()
|
D | Client.h | 77 sp<SurfaceFlinger> mFlinger; variable
|
D | MessageQueue.h | 114 sp<SurfaceFlinger> mFlinger; variable
|
D | ColorLayer.cpp | 51 auto& engine(mFlinger->getRenderEngine()); in onDraw()
|
D | MonitoredProducer.h | 78 sp<SurfaceFlinger> mFlinger; variable
|
D | SurfaceFlinger.cpp | 967 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 …]
|
D | Layer.cpp | 77 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()
|
D | SurfaceInterceptor.h | 175 SurfaceFlinger* const mFlinger; variable
|
D | DisplayDevice.h | 225 sp<SurfaceFlinger> mFlinger;
|
D | SurfaceInterceptor.cpp | 39 : mFlinger(flinger) in SurfaceInterceptor() 365 if (mFlinger->authenticateSurfaceTextureLocked(gbp)) { in addSurfaceChangesLocked()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer_hwc1.h | 371 sp<SurfaceFlinger> mFlinger; variable
|