Lines Matching defs:SurfaceFlinger

65 #include "SurfaceFlinger.h"
86 SurfaceFlinger::SurfaceFlinger()
106 ALOGI("SurfaceFlinger is starting");
126 void SurfaceFlinger::onFirstRef()
130 run("SurfaceFlinger", PRIORITY_URGENT_DISPLAY);
137 SurfaceFlinger::~SurfaceFlinger()
144 void SurfaceFlinger::binderDied(const wp<IBinder>& who)
155 sp<ISurfaceComposerClient> SurfaceFlinger::createConnection()
166 sp<IBinder> SurfaceFlinger::createDisplay(const String8& displayName,
170 sp<SurfaceFlinger> flinger;
178 DisplayToken(const sp<SurfaceFlinger>& flinger)
194 sp<IBinder> SurfaceFlinger::getBuiltInDisplay(int32_t id) {
202 sp<IGraphicBufferAlloc> SurfaceFlinger::createGraphicBufferAlloc()
208 void SurfaceFlinger::bootFinished()
228 void SurfaceFlinger::deleteTextureAsync(GLuint texture) {
243 status_t SurfaceFlinger::selectConfigForAttribute(
329 EGLConfig SurfaceFlinger::selectEGLConfig(EGLDisplay display, EGLint nativeVisualId) {
386 EGLContext SurfaceFlinger::createGLContext(EGLDisplay display, EGLConfig config) {
402 void SurfaceFlinger::initializeGL(EGLDisplay display) {
460 status_t SurfaceFlinger::readyToRun()
462 ALOGI( "SurfaceFlinger's main thread ready to run. "
540 int32_t SurfaceFlinger::allocateHwcDisplayId(DisplayDevice::DisplayType type) {
545 void SurfaceFlinger::startBootAnim() {
551 uint32_t SurfaceFlinger::getMaxTextureSize() const {
555 uint32_t SurfaceFlinger::getMaxViewportDims() const {
562 bool SurfaceFlinger::authenticateSurfaceTexture(
603 status_t SurfaceFlinger::getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info) {
682 sp<IDisplayEventConnection> SurfaceFlinger::createDisplayEventConnection() {
688 void SurfaceFlinger::waitForEvent() {
692 void SurfaceFlinger::signalTransaction() {
696 void SurfaceFlinger::signalLayerUpdate() {
700 void SurfaceFlinger::signalRefresh() {
704 status_t SurfaceFlinger::postMessageAsync(const sp<MessageBase>& msg,
709 status_t SurfaceFlinger::postMessageSync(const sp<MessageBase>& msg,
718 bool SurfaceFlinger::threadLoop() {
723 void SurfaceFlinger::onVSyncReceived(int type, nsecs_t timestamp) {
737 void SurfaceFlinger::onHotplugReceived(int type, bool connected) {
760 void SurfaceFlinger::eventControl(int disp, int event, int enabled) {
764 void SurfaceFlinger::onMessageReceived(int32_t what) {
778 void SurfaceFlinger::handleMessageTransaction() {
785 void SurfaceFlinger::handleMessageInvalidate() {
790 void SurfaceFlinger::handleMessageRefresh() {
800 void SurfaceFlinger::doDebugFlashRegions()
854 void SurfaceFlinger::preComposition()
869 void SurfaceFlinger::postComposition()
878 void SurfaceFlinger::rebuildLayerStacks() {
894 SurfaceFlinger::computeVisibleRegions(currentLayers,
919 void SurfaceFlinger::setUpHWComposer() {
973 void SurfaceFlinger::doComposition() {
995 void SurfaceFlinger::postFramebuffer()
1037 void SurfaceFlinger::handleTransaction(uint32_t transactionFlags)
1060 void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
1245 void SurfaceFlinger::commitTransaction()
1261 void SurfaceFlinger::computeVisibleRegions(
1400 void SurfaceFlinger::invalidateLayerStack(uint32_t layerStack,
1410 void SurfaceFlinger::handlePageFlip()
1427 void SurfaceFlinger::invalidateHwcGeometry()
1433 void SurfaceFlinger::doDisplayComposition(const sp<const DisplayDevice>& hw,
1470 void SurfaceFlinger::doComposeSurfaces(const sp<const DisplayDevice>& hw, const Region& dirty)
1582 void SurfaceFlinger::drawWormhole(const sp<const DisplayDevice>& hw,
1606 ssize_t SurfaceFlinger::addClientLayer(const sp<Client>& client,
1619 status_t SurfaceFlinger::removeLayer(const sp<LayerBase>& layer)
1628 status_t SurfaceFlinger::removeLayer_l(const sp<LayerBase>& layerBase)
1638 status_t SurfaceFlinger::purgatorizeLayer_l(const sp<LayerBase>& layerBase)
1656 uint32_t SurfaceFlinger::peekTransactionFlags(uint32_t flags)
1661 uint32_t SurfaceFlinger::getTransactionFlags(uint32_t flags)
1666 uint32_t SurfaceFlinger::setTransactionFlags(uint32_t flags)
1675 void SurfaceFlinger::setTransactionState(
1753 uint32_t SurfaceFlinger::setDisplayStateLocked(const DisplayState& s)
1793 uint32_t SurfaceFlinger::setClientStateLocked(
1856 sp<ISurface> SurfaceFlinger::createLayer(
1901 sp<Layer> SurfaceFlinger::createNormalLayer(
1935 sp<LayerDim> SurfaceFlinger::createDimLayer(
1943 sp<LayerScreenshot> SurfaceFlinger::createScreenshotLayer(
1951 status_t SurfaceFlinger::onLayerRemoved(const sp<Client>& client, SurfaceID sid)
1975 status_t SurfaceFlinger::onLayerDestroyed(const wp<LayerBaseClient>& layer)
1999 void SurfaceFlinger::onInitializeDisplays() {
2014 void SurfaceFlinger::initializeDisplays() {
2016 SurfaceFlinger* flinger;
2018 MessageScreenInitialized(SurfaceFlinger* flinger) : flinger(flinger) { }
2029 void SurfaceFlinger::onScreenAcquired(const sp<const DisplayDevice>& hw) {
2052 void SurfaceFlinger::onScreenReleased(const sp<const DisplayDevice>& hw) {
2074 void SurfaceFlinger::unblank(const sp<IBinder>& display) {
2076 SurfaceFlinger& mFlinger;
2079 MessageScreenAcquired(SurfaceFlinger& flinger,
2097 void SurfaceFlinger::blank(const sp<IBinder>& display) {
2099 SurfaceFlinger& mFlinger;
2102 MessageScreenReleased(SurfaceFlinger& flinger,
2122 status_t SurfaceFlinger::dump(int fd, const Vector<String16>& args)
2130 "can't dump SurfaceFlinger from pid=%d, uid=%d\n",
2145 "SurfaceFlinger appears to be unresponsive, "
2188 void SurfaceFlinger::listLayersLocked(const Vector<String16>& args, size_t& index,
2200 void SurfaceFlinger::dumpStatsLocked(const Vector<String16>& args, size_t& index,
2223 void SurfaceFlinger::clearStatsLocked(const Vector<String16>& args, size_t& index,
2242 /*static*/ void SurfaceFlinger::appendSfConfigString(String8& result)
2262 void SurfaceFlinger::dumpAllLocked(
2317 * Dump SurfaceFlinger global state
2320 snprintf(buffer, SIZE, "SurfaceFlinger global state:\n");
2391 SurfaceFlinger::getLayerSortedByZForHwcDisplay(int disp) {
2396 bool SurfaceFlinger::startDdmConnection()
2414 status_t SurfaceFlinger::onTransact(
2431 "can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);
2460 "can't access SurfaceFlinger pid=%d, uid=%d", pid, uid);
2519 void SurfaceFlinger::repaintEverything() {
2526 status_t SurfaceFlinger::renderScreenToTexture(uint32_t layerStack,
2533 status_t SurfaceFlinger::renderScreenToTextureLocked(uint32_t layerStack,
2604 status_t SurfaceFlinger::captureScreenImplLocked(const sp<IBinder>& display,
2732 status_t SurfaceFlinger::captureScreen(const sp<IBinder>& display,
2745 SurfaceFlinger* flinger;
2757 MessageCaptureScreen(SurfaceFlinger* flinger, const sp<IBinder>& display,
2789 SurfaceFlinger::LayerVector::LayerVector() {
2792 SurfaceFlinger::LayerVector::LayerVector(const LayerVector& rhs)
2796 int SurfaceFlinger::LayerVector::do_compare(const void* lhs,
2818 SurfaceFlinger::DisplayDeviceState::DisplayDeviceState()
2822 SurfaceFlinger::DisplayDeviceState::DisplayDeviceState(DisplayDevice::DisplayType type)