summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/MessageQueue.cpp
Commit message (Collapse)AuthorAgeFilesLines
* one more step towards multiple display supportMathias Agopian2012-07-101-4/+26
| | | | | | | | | - remove dependency on cached state in validateVisibility - get rid of mVertices and mTransformedBounds - get rid of validateVisibility - get rid of unlockPageFlip - handleTransaction now returns a dirty region - computevisibileregion now uses window-manager space
* Revert "handle surfaces posts independently from composition"Mathias Agopian2012-04-111-1/+2
| | | | | | This reverts commit 562f4b2c1e555b853997113bb54b21303d642bc6. Change-Id: I96efe11c2f0494ed2d57fc580e49c598d913830e
* handle surfaces posts independently from compositionMathias Agopian2012-04-111-2/+1
| | | | | | | | surfaceflinger will now handle each surface post as soon as possible and handle the composition itself at VSYNC time as usual. Change-Id: I6b1ae33fd56062d86e5419ebab8def0ca5803fbf
* ui freeze workaround: reenable triple buffering modeMathias Agopian2012-02-051-1/+2
| | | | | | | | | we're seeing UI freezes when window updates and composition are separated. for now we workaround this by always doing a composition after window updates on vsync. triple buffering is reenabled for performance. Change-Id: I693d705000b7452489bb0b4918fbeadb9879315c
* separate transactions from updatesMathias Agopian2012-02-011-38/+42
| | | | | | | | | | with this changes, SF transactions are handled as soon as possible but do not trigger updates. the update is delayed until the next vsync. this allows us to work much better without requiring triple-buffering. Change-Id: I1fa10794d0cf742129f0877698b7b1e1f2ec7401
* SF now synchronizes to VSYNCMathias Agopian2012-01-301-3/+58
| | | | Change-Id: Ic5e4f2ea9927ce133eef9499c03161325e9d02c5
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-2/+2
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* fix an issue where invalidate/transactions could be missedMathias Agopian2011-12-031-6/+8
| | | | Change-Id: I84a1fcba1317b2631f5441de7b7ecd12af5ad022
* fix an issue where updates could starve transactionsMathias Agopian2011-12-021-8/+2
| | | | | Bug: 5700586 Change-Id: Iaa4adc1a6aea1db6e2943efe4caca1f6cbebfa72
* rewrite SF's message loop on top of LooperMathias Agopian2011-11-281-137/+49
| | | | Change-Id: Ib56139f87a5c0b124e34da5c8151207219b2577b
* deliver invalidate messages AFTER other messagesMathias Agopian2010-10-111-8/+8
| | | | | | | | | | because invalidate messages were always handled first, they could prevent other messages to get through entirely. there is no real reason to handle invalidate messages first because the other messages are very uncommon and won't interfer with updates. Change-Id: Ib95cdf35a91407bd2f4d69dd082c5f546e1e0071
* fix a bug where timeouts would only be handled when a message was deliveredMathias Agopian2010-10-111-7/+11
| | | | Change-Id: I98c69b129e75e065e61f47e54f0f855d9401b0dc
* move native services under services/Mathias Agopian2010-07-141-0/+193
moved surfaceflinger, audioflinger, cameraservice all native services should now reside in this location. Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8