Lines Matching refs:SurfaceFlinger

113 int64_t SurfaceFlinger::vsyncPhaseOffsetNs;
114 int64_t SurfaceFlinger::sfVsyncPhaseOffsetNs;
115 bool SurfaceFlinger::useContextPriority;
116 int64_t SurfaceFlinger::dispSyncPresentTimeOffset;
117 bool SurfaceFlinger::useHwcForRgbToYuv;
118 uint64_t SurfaceFlinger::maxVirtualDisplaySize;
119 bool SurfaceFlinger::hasSyncFramework;
120 bool SurfaceFlinger::useVrFlinger;
121 int64_t SurfaceFlinger::maxFrameBufferAcquiredBuffers;
122 bool SurfaceFlinger::hasWideColorDisplay;
124 SurfaceFlinger::SurfaceFlinger() in SurfaceFlinger() function in android::SurfaceFlinger
229 void SurfaceFlinger::onFirstRef() in onFirstRef()
234 SurfaceFlinger::~SurfaceFlinger() in ~SurfaceFlinger()
241 void SurfaceFlinger::binderDied(const wp<IBinder>& /* who */) in binderDied()
260 sp<ISurfaceComposerClient> SurfaceFlinger::createConnection() { in createConnection()
264 sp<ISurfaceComposerClient> SurfaceFlinger::createScopedConnection( in createScopedConnection()
277 sp<IBinder> SurfaceFlinger::createDisplay(const String8& displayName, in createDisplay()
281 sp<SurfaceFlinger> flinger; in createDisplay()
289 explicit DisplayToken(const sp<SurfaceFlinger>& flinger) in createDisplay()
304 void SurfaceFlinger::destroyDisplay(const sp<IBinder>& display) { in destroyDisplay()
323 void SurfaceFlinger::createBuiltinDisplayLocked(DisplayDevice::DisplayType type) { in createBuiltinDisplayLocked()
334 sp<IBinder> SurfaceFlinger::getBuiltInDisplay(int32_t id) { in getBuiltInDisplay()
342 void SurfaceFlinger::bootFinished() in bootFinished()
373 void SurfaceFlinger::deleteTextureAsync(uint32_t texture) { in deleteTextureAsync()
529 void SurfaceFlinger::init() { in init()
627 void SurfaceFlinger::startBootAnim() { in startBootAnim()
637 size_t SurfaceFlinger::getMaxTextureSize() const { in getMaxTextureSize()
641 size_t SurfaceFlinger::getMaxViewportDims() const { in getMaxViewportDims()
647 bool SurfaceFlinger::authenticateSurfaceTexture( in authenticateSurfaceTexture()
653 bool SurfaceFlinger::authenticateSurfaceTextureLocked( in authenticateSurfaceTextureLocked()
659 status_t SurfaceFlinger::getSupportedFrameTimestamps( in getSupportedFrameTimestamps()
678 status_t SurfaceFlinger::getDisplayConfigs(const sp<IBinder>& display, in getDisplayConfigs()
781 status_t SurfaceFlinger::getDisplayStats(const sp<IBinder>& /* display */, in getDisplayStats()
794 int SurfaceFlinger::getActiveConfig(const sp<IBinder>& display) { in getActiveConfig()
808 void SurfaceFlinger::setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode) { in setActiveConfigInternal()
828 status_t SurfaceFlinger::setActiveConfig(const sp<IBinder>& display, int mode) { in setActiveConfig()
830 SurfaceFlinger& mFlinger; in setActiveConfig()
834 MessageSetActiveConfig(SurfaceFlinger& flinger, const sp<IBinder>& disp, in setActiveConfig()
862 status_t SurfaceFlinger::getDisplayColorModes(const sp<IBinder>& display, in getDisplayColorModes()
891 android_color_mode_t SurfaceFlinger::getActiveColorMode(const sp<IBinder>& display) { in getActiveColorMode()
899 void SurfaceFlinger::setActiveColorModeInternal(const sp<DisplayDevice>& hw, in setActiveColorModeInternal()
921 status_t SurfaceFlinger::setActiveColorMode(const sp<IBinder>& display, in setActiveColorMode()
924 SurfaceFlinger& mFlinger; in setActiveColorMode()
928 MessageSetActiveColorMode(SurfaceFlinger& flinger, const sp<IBinder>& disp, in setActiveColorMode()
958 status_t SurfaceFlinger::clearAnimationFrameStats() { in clearAnimationFrameStats()
964 status_t SurfaceFlinger::getAnimationFrameStats(FrameStats* outStats) const { in getAnimationFrameStats()
970 status_t SurfaceFlinger::getHdrCapabilities(const sp<IBinder>& display, in getHdrCapabilities()
991 status_t SurfaceFlinger::enableVSyncInjections(bool enable) { in enableVSyncInjections()
1013 status_t SurfaceFlinger::injectVSync(nsecs_t when) { in injectVSync()
1027 sp<IDisplayEventConnection> SurfaceFlinger::createDisplayEventConnection( in createDisplayEventConnection()
1038 void SurfaceFlinger::waitForEvent() { in waitForEvent()
1042 void SurfaceFlinger::signalTransaction() { in signalTransaction()
1046 void SurfaceFlinger::signalLayerUpdate() { in signalLayerUpdate()
1050 void SurfaceFlinger::signalRefresh() { in signalRefresh()
1054 status_t SurfaceFlinger::postMessageAsync(const sp<MessageBase>& msg, in postMessageAsync()
1059 status_t SurfaceFlinger::postMessageSync(const sp<MessageBase>& msg, in postMessageSync()
1068 void SurfaceFlinger::run() { in run()
1074 void SurfaceFlinger::enableHardwareVsync() { in enableHardwareVsync()
1084 void SurfaceFlinger::resyncToHardwareVsync(bool makeAvailable) { in resyncToHardwareVsync()
1109 void SurfaceFlinger::disableHardwareVsync(bool makeUnavailable) { in disableHardwareVsync()
1122 void SurfaceFlinger::resyncWithRateLimit() { in resyncWithRateLimit()
1134 void SurfaceFlinger::onVSyncReceived(HWComposer* composer, int32_t type, in onVSyncReceived()
1158 void SurfaceFlinger::getCompositorTiming(CompositorTiming* compositorTiming) { in getCompositorTiming()
1163 void SurfaceFlinger::createDefaultDisplayDevice() { in createDefaultDisplayDevice()
1200 void SurfaceFlinger::onHotplugReceived(HWComposer* composer, int32_t disp, bool connected) { in onHotplugReceived()
1231 void SurfaceFlinger::onInvalidateReceived(HWComposer* composer) { in onInvalidateReceived()
1245 void SurfaceFlinger::setVsyncEnabled(int disp, int enabled) { in setVsyncEnabled()
1251 void SurfaceFlinger::clearHwcLayers(const LayerVector& layers) { in clearHwcLayers()
1258 void SurfaceFlinger::resetHwcLocked() { in resetHwcLocked()
1277 void SurfaceFlinger::updateVrFlinger() { in updateVrFlinger()
1331 void SurfaceFlinger::onMessageReceived(int32_t what) { in onMessageReceived()
1369 bool SurfaceFlinger::handleMessageTransaction() { in handleMessageTransaction()
1378 bool SurfaceFlinger::handleMessageInvalidate() { in handleMessageInvalidate()
1383 void SurfaceFlinger::handleMessageRefresh() { in handleMessageRefresh()
1407 void SurfaceFlinger::doDebugFlashRegions() in doDebugFlashRegions()
1451 void SurfaceFlinger::preComposition(nsecs_t refreshStartTime) in preComposition()
1468 void SurfaceFlinger::updateCompositorTiming( in updateCompositorTiming()
1496 void SurfaceFlinger::setCompositorTimingSnapped(nsecs_t vsyncPhase, in setCompositorTimingSnapped()
1527 void SurfaceFlinger::postComposition(nsecs_t refreshStartTime) in postComposition()
1629 void SurfaceFlinger::rebuildLayerStacks() { in rebuildLayerStacks()
1684 android_color_mode SurfaceFlinger::pickColorMode(android_dataspace dataSpace) { in pickColorMode()
1707 android_dataspace SurfaceFlinger::bestTargetDataSpace(android_dataspace a, android_dataspace b) { in bestTargetDataSpace()
1715 void SurfaceFlinger::setUpHWComposer() { in setUpHWComposer()
1828 void SurfaceFlinger::doComposition() { in doComposition()
1850 void SurfaceFlinger::postFramebuffer() in postFramebuffer()
1894 void SurfaceFlinger::handleTransaction(uint32_t transactionFlags) in handleTransaction()
1923 void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags) in handleTransactionLocked()
2204 void SurfaceFlinger::updateCursorAsync() in updateCursorAsync()
2218 void SurfaceFlinger::commitTransaction() in commitTransaction()
2243 void SurfaceFlinger::computeVisibleRegions(uint32_t layerStack, in computeVisibleRegions()
2375 void SurfaceFlinger::invalidateLayerStack(uint32_t layerStack, in invalidateLayerStack()
2385 bool SurfaceFlinger::handlePageFlip() in handlePageFlip()
2439 void SurfaceFlinger::invalidateHwcGeometry() in invalidateHwcGeometry()
2445 void SurfaceFlinger::doDisplayComposition( in doDisplayComposition()
2495 bool SurfaceFlinger::doComposeSurfaces( in doComposeSurfaces()
2643 void SurfaceFlinger::drawWormhole(const sp<const DisplayDevice>& displayDevice, const Region& regio… in drawWormhole()
2649 status_t SurfaceFlinger::addClientLayer(const sp<Client>& client, in addClientLayer()
2682 status_t SurfaceFlinger::removeLayer(const sp<Layer>& layer, bool topLevelOnly) { in removeLayer()
2727 uint32_t SurfaceFlinger::peekTransactionFlags() { in peekTransactionFlags()
2731 uint32_t SurfaceFlinger::getTransactionFlags(uint32_t flags) { in getTransactionFlags()
2735 uint32_t SurfaceFlinger::setTransactionFlags(uint32_t flags) { in setTransactionFlags()
2743 void SurfaceFlinger::setTransactionState( in setTransactionState()
2831 uint32_t SurfaceFlinger::setDisplayStateLocked(const DisplayState& s) in setDisplayStateLocked()
2881 uint32_t SurfaceFlinger::setClientStateLocked( in setClientStateLocked()
3001 status_t SurfaceFlinger::createLayer( in createLayer()
3052 String8 SurfaceFlinger::getUniqueLayerName(const String8& name) in getUniqueLayerName()
3076 status_t SurfaceFlinger::createNormalLayer(const sp<Client>& client, in createNormalLayer()
3102 status_t SurfaceFlinger::createDimLayer(const sp<Client>& client, in createDimLayer()
3112 status_t SurfaceFlinger::onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle) in onLayerRemoved()
3126 status_t SurfaceFlinger::onLayerDestroyed(const wp<Layer>& layer) in onLayerDestroyed()
3141 void SurfaceFlinger::onInitializeDisplays() { in onInitializeDisplays()
3168 void SurfaceFlinger::initializeDisplays() { in initializeDisplays()
3170 SurfaceFlinger* flinger; in initializeDisplays()
3172 explicit MessageScreenInitialized(SurfaceFlinger* flinger) : flinger(flinger) { } in initializeDisplays()
3182 void SurfaceFlinger::setPowerModeInternal(const sp<DisplayDevice>& hw, in setPowerModeInternal()
3249 void SurfaceFlinger::setPowerMode(const sp<IBinder>& display, int mode) { in setPowerMode()
3251 SurfaceFlinger& mFlinger; in setPowerMode()
3255 MessageSetPowerMode(SurfaceFlinger& flinger, in setPowerMode()
3278 status_t SurfaceFlinger::dump(int fd, const Vector<String16>& args) in dump()
3366 void SurfaceFlinger::listLayersLocked(const Vector<String16>& /* args */, in listLayersLocked()
3374 void SurfaceFlinger::dumpStatsLocked(const Vector<String16>& args, size_t& index, in dumpStatsLocked()
3398 void SurfaceFlinger::clearStatsLocked(const Vector<String16>& args, size_t& index, in clearStatsLocked()
3418 void SurfaceFlinger::logFrameStats() { in logFrameStats()
3426 void SurfaceFlinger::appendSfConfigString(String8& result) const in appendSfConfigString()
3443 void SurfaceFlinger::dumpStaticScreenStats(String8& result) const in dumpStaticScreenStats()
3460 void SurfaceFlinger::recordBufferingStats(const char* layerName, in recordBufferingStats()
3478 void SurfaceFlinger::dumpFrameEventsLocked(String8& result) { in dumpFrameEventsLocked()
3488 void SurfaceFlinger::dumpBufferingStats(String8& result) const { in dumpBufferingStats()
3522 void SurfaceFlinger::dumpWideColorInfo(String8& result) const { in dumpWideColorInfo()
3547 void SurfaceFlinger::dumpAllLocked(const Vector<String16>& args, size_t& index, in dumpAllLocked()
3716 SurfaceFlinger::getLayerSortedByZForHwcDisplay(int id) { in getLayerSortedByZForHwcDisplay()
3733 bool SurfaceFlinger::startDdmConnection() in startDdmConnection()
3751 status_t SurfaceFlinger::CheckTransactCodeCredentials(uint32_t code) { in CheckTransactCodeCredentials()
3800 status_t SurfaceFlinger::onTransact( in onTransact()
3958 void SurfaceFlinger::repaintEverything() { in repaintEverything()
4080 status_t SurfaceFlinger::captureScreen(const sp<IBinder>& display, in captureScreen()
4119 SurfaceFlinger* flinger; in captureScreen()
4130 MessageCaptureScreen(SurfaceFlinger* flinger, in captureScreen()
4180 void SurfaceFlinger::renderScreenImplLocked( in renderScreenImplLocked()
4251 status_t SurfaceFlinger::captureScreenImplLocked( in captureScreenImplLocked()
4415 void SurfaceFlinger::checkScreenshot(size_t w, size_t s, size_t h, void const* vaddr, in checkScreenshot()
4447 void SurfaceFlinger::State::traverseInZOrder(const LayerVector::Visitor& visitor) const { in traverseInZOrder()
4451 void SurfaceFlinger::State::traverseInReverseZOrder(const LayerVector::Visitor& visitor) const { in traverseInReverseZOrder()