Home | History | Annotate | Download | only in surfaceflinger

Lines Matching refs:SurfaceFlinger

70 #include "SurfaceFlinger.h"
95 // event is when SurfaceFlinger and Choreographer-based applications run each
102 // minimum latency of two vsync periods because the app and SurfaceFlinger
115 // This is the phase offset at which SurfaceFlinger's composition runs.
127 SurfaceFlinger::SurfaceFlinger()
153 ALOGI("SurfaceFlinger is starting");
176 void SurfaceFlinger::onFirstRef()
181 SurfaceFlinger::~SurfaceFlinger()
188 void SurfaceFlinger::binderDied(const wp<IBinder>& /* who */)
199 sp<ISurfaceComposerClient> SurfaceFlinger::createConnection()
210 sp<IBinder> SurfaceFlinger::createDisplay(const String8& displayName,
214 sp<SurfaceFlinger> flinger;
222 DisplayToken(const sp<SurfaceFlinger>& flinger)
238 void SurfaceFlinger::destroyDisplay(const sp<IBinder>& display) {
257 void SurfaceFlinger::createBuiltinDisplayLocked(DisplayDevice::DisplayType type) {
267 sp<IBinder> SurfaceFlinger::getBuiltInDisplay(int32_t id) {
275 sp<IGraphicBufferAlloc> SurfaceFlinger::createGraphicBufferAlloc()
281 void SurfaceFlinger::bootFinished()
301 void SurfaceFlinger::deleteTextureAsync(uint32_t texture) {
387 void SurfaceFlinger::init() {
388 ALOGI( "SurfaceFlinger's main thread ready to run. "
476 int32_t SurfaceFlinger::allocateHwcDisplayId(DisplayDevice::DisplayType type) {
481 void SurfaceFlinger::startBootAnim() {
487 size_t SurfaceFlinger::getMaxTextureSize() const {
491 size_t SurfaceFlinger::getMaxViewportDims() const {
497 SurfaceFlinger::authenticateSurfaceTexture(
504 status_t SurfaceFlinger::getDisplayConfigs(const sp<IBinder>& display,
610 status_t SurfaceFlinger::getDisplayStats(const sp<IBinder>& display,
623 int SurfaceFlinger::getActiveConfig(const sp<IBinder>& display) {
627 void SurfaceFlinger::setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode) {
647 status_t SurfaceFlinger::setActiveConfig(const sp<IBinder>& display, int mode) {
649 SurfaceFlinger& mFlinger;
653 MessageSetActiveConfig(SurfaceFlinger& flinger, const sp<IBinder>& disp,
681 status_t SurfaceFlinger::clearAnimationFrameStats() {
687 status_t SurfaceFlinger::getAnimationFrameStats(FrameStats* outStats) const {
695 sp<IDisplayEventConnection> SurfaceFlinger::createDisplayEventConnection() {
701 void SurfaceFlinger::waitForEvent() {
705 void SurfaceFlinger::signalTransaction() {
709 void SurfaceFlinger::signalLayerUpdate() {
713 void SurfaceFlinger::signalRefresh() {
717 status_t SurfaceFlinger::postMessageAsync(const sp<MessageBase>& msg,
722 status_t SurfaceFlinger::postMessageSync(const sp<MessageBase>& msg,
731 void SurfaceFlinger::run() {
737 void SurfaceFlinger::enableHardwareVsync() {
741 //eventControl(HWC_DISPLAY_PRIMARY, SurfaceFlinger::EVENT_VSYNC, true);
747 void SurfaceFlinger::resyncToHardwareVsync(bool makeAvailable) {
765 //eventControl(HWC_DISPLAY_PRIMARY, SurfaceFlinger::EVENT_VSYNC, true);
771 void SurfaceFlinger::disableHardwareVsync(bool makeUnavailable) {
774 //eventControl(HWC_DISPLAY_PRIMARY, SurfaceFlinger::EVENT_VSYNC, false);
784 void SurfaceFlinger::onVSyncReceived(int type, nsecs_t timestamp) {
801 void SurfaceFlinger::onHotplugReceived(int type, bool connected) {
824 void SurfaceFlinger::eventControl(int disp, int event, int enabled) {
829 void SurfaceFlinger::onMessageReceived(int32_t what) {
855 bool SurfaceFlinger::handleMessageTransaction() {
864 bool SurfaceFlinger::handleMessageInvalidate() {
869 void SurfaceFlinger::handleMessageRefresh() {
879 void SurfaceFlinger::doDebugFlashRegions()
919 void SurfaceFlinger::preComposition()
934 void SurfaceFlinger::postComposition()
975 void SurfaceFlinger::rebuildLayerStacks() {
991 SurfaceFlinger::computeVisibleRegions(layers,
1016 void SurfaceFlinger::setUpHWComposer() {
1124 void SurfaceFlinger::doComposition() {
1146 void SurfaceFlinger::postFramebuffer()
1198 void SurfaceFlinger::handleTransaction(uint32_t transactionFlags)
1227 void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
1424 // drawing state. However, SurfaceFlinger's own transaction has not
1504 void SurfaceFlinger::updateCursorAsync()
1530 void SurfaceFlinger::commitTransaction()
1550 void SurfaceFlinger::computeVisibleRegions(
1689 void SurfaceFlinger::invalidateLayerStack(uint32_t layerStack,
1699 bool SurfaceFlinger::handlePageFlip()
1746 void SurfaceFlinger::invalidateHwcGeometry()
1752 void SurfaceFlinger::doDisplayComposition(const sp<const DisplayDevice>& hw,
1809 bool SurfaceFlinger::doComposeSurfaces(const sp<const DisplayDevice>& hw, const Region& dirty)
1937 void SurfaceFlinger::drawWormhole(const sp<const DisplayDevice>& hw, const Region& region) const {
1943 void SurfaceFlinger::addClientLayer(const sp<Client>& client,
1957 status_t SurfaceFlinger::removeLayer(const sp<Layer>& layer) {
1969 uint32_t SurfaceFlinger::peekTransactionFlags(uint32_t /* flags */) {
1973 uint32_t SurfaceFlinger::getTransactionFlags(uint32_t flags) {
1977 uint32_t SurfaceFlinger::setTransactionFlags(uint32_t flags) {
1985 void SurfaceFlinger::setTransactionState(
2063 uint32_t SurfaceFlinger::setDisplayStateLocked(const DisplayState& s)
2113 uint32_t SurfaceFlinger::setClientStateLocked(
2178 status_t SurfaceFlinger::createLayer(
2218 status_t SurfaceFlinger::createNormalLayer(const sp<Client>& client,
2244 status_t SurfaceFlinger::createDimLayer(const sp<Client>& client,
2254 status_t SurfaceFlinger::onLayerRemoved(const sp<Client>& client, const sp<IBinder>& handle)
2267 status_t SurfaceFlinger::onLayerDestroyed(const wp<Layer>& layer)
2283 void SurfaceFlinger::onInitializeDisplays() {
2306 void SurfaceFlinger::initializeDisplays() {
2308 SurfaceFlinger* flinger;
2310 MessageScreenInitialized(SurfaceFlinger* flinger) : flinger(flinger) { }
2320 void SurfaceFlinger::setPowerModeInternal(const sp<DisplayDevice>& hw,
2364 void SurfaceFlinger::setPowerMode(const sp<IBinder>& display, int mode) {
2366 SurfaceFlinger& mFlinger;
2370 MessageSetPowerMode(SurfaceFlinger& flinger,
2393 status_t SurfaceFlinger::dump(int fd, const Vector<String16>& args)
2403 "can't dump SurfaceFlinger from pid=%d, uid=%d\n", pid, uid);
2415 "SurfaceFlinger appears to be unresponsive, "
2464 void SurfaceFlinger::listLayersLocked(const Vector<String16>& /* args */,
2475 void SurfaceFlinger::dumpStatsLocked(const Vector<String16>& args, size_t& index,
2502 void SurfaceFlinger::clearStatsLocked(const Vector<String16>& args, size_t& index,
2525 void SurfaceFlinger::logFrameStats() {
2536 /*static*/ void SurfaceFlinger::appendSfConfigString(String8& result)
2553 void SurfaceFlinger::dumpAllLocked(const Vector<String16>& args, size_t& index,
2625 * Dump SurfaceFlinger global state
2629 result.append("SurfaceFlinger global state:\n");
2695 SurfaceFlinger::getLayerSortedByZForHwcDisplay(int id) {
2712 bool SurfaceFlinger::startDdmConnection()
2730 status_t SurfaceFlinger::onTransact(
2749 "can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);
2778 "can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);
2882 void SurfaceFlinger::repaintEverything() {
2894 * from the surfaceflinger thread to the calling binder thread, where they
2906 * Data going from surfaceflinger to binder threads needs to be
2911 * surfaceflinger threads.
2930 * Called on surfaceflinger thread. This is called by our "fake"
2943 // on the surfaceflinger or binder thread.
3000 status_t SurfaceFlinger::captureScreen(const sp<IBinder>& display,
3024 // Convert to surfaceflinger's internal rotation type.
3046 SurfaceFlinger* flinger;
3056 MessageCaptureScreen(SurfaceFlinger* flinger,
3111 void SurfaceFlinger::renderScreenImplLocked(
3179 status_t SurfaceFlinger::captureScreenImplLocked(
3308 void SurfaceFlinger::checkScreenshot(size_t w, size_t s, size_t h, void const* vaddr,
3338 SurfaceFlinger::LayerVector::LayerVector() {
3341 SurfaceFlinger::LayerVector::LayerVector(const LayerVector& rhs)
3345 int SurfaceFlinger::LayerVector::do_compare(const void* lhs,
3367 SurfaceFlinger::DisplayDeviceState::DisplayDeviceState()
3371 SurfaceFlinger::DisplayDeviceState::DisplayDeviceState(DisplayDevice::DisplayType type)