Rewrote SurfaceFlinger's buffer management from the ground-up.
The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice.
The main new feature is to be able to dequeue all buffers at once (very important when there are only two).
A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued.
The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time.
eg. Allowed sequence: DQ, DQ, LOCK, Q, LOCK, Q
eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
* changes:
Integrated the profiler into the framework. We run it all the time if the persist.sampling_profiler system property is set. Saves snapshots to the SD card.
Merge commit 'a4eb91da03bd785bc91bed0d25a9efaa9baba1c1' into eclair-plus-aosp
* commit 'a4eb91da03bd785bc91bed0d25a9efaa9baba1c1':
dumpstate: Add the ctime (time the file was harvested out of /proc) to dump.
Merge commit 'ffae4fcc78d0f280da6052d102b11962fb8041b7' into eclair-plus-aosp
* commit 'ffae4fcc78d0f280da6052d102b11962fb8041b7':
attempt to fix [2099362] Possible SurfaceFlinger crash
Merge commit '9cc1817d46d8092865d8f1e7a6391dcae197a26a' into eclair-plus-aosp
* commit '9cc1817d46d8092865d8f1e7a6391dcae197a26a':
Fixing a concurrency problem by changing the contact aggregation exception API.
Merge commit 'ac67ebe667d30f3cd2e39fa57164d4f3ddaea677' into eclair-plus-aosp
* commit 'ac67ebe667d30f3cd2e39fa57164d4f3ddaea677':
Minor perf improvement to fall and expand use of struct.
Merge commit 'c2042f5e4910c4f7c5b812787ad2b025d93da497' into eclair-plus-aosp
* commit 'c2042f5e4910c4f7c5b812787ad2b025d93da497':
Fix mncLength in cases with a malformed AD_DONE msg from SIM
Merge commit '6e4b7d66998b9ec9255767f6070a2f94d83944a5' into eclair-plus-aosp
* commit '6e4b7d66998b9ec9255767f6070a2f94d83944a5':
Wallpapers: new transitions, hiding when not visible, other cleanup.
Merge commit 'da214787988ab6bf3c54d96072300723a72b9e3b' into eclair-plus-aosp
* commit 'da214787988ab6bf3c54d96072300723a72b9e3b':
Remove "predefined" elements from Java layer. Static elements continue to exist but are no longer treated as a special version of element.
Merge commit '608f9f470fa562fc6a32449297110d4ec2953515' into eclair-plus-aosp
* commit '608f9f470fa562fc6a32449297110d4ec2953515':
When zooming, do not draw the WebTextView. Resize it when done.
Merge commit '3c32474f0e0df419135f1966796d277aba9ee7cb' into eclair-plus-aosp
* commit '3c32474f0e0df419135f1966796d277aba9ee7cb':
Clean up from earlier changes to place title bar at top of WebView
Merge commit '107039f94888fce212e0965b74971727d2b01b82' into eclair-plus-aosp
* commit '107039f94888fce212e0965b74971727d2b01b82':
Don't toggle between in app and global search on repeat key events.
Merge commit '3c72fff035e287f9e0b9340cc3921896ca86380b' into eclair-plus-aosp
* commit '3c72fff035e287f9e0b9340cc3921896ca86380b':
Some mobile sites, like m.www.yahoo.com, slashdot.org (iPhone version),
Merge commit '93a751d6adc00cbc6fb564b27592fc5730a655ef' into eclair-plus-aosp
* commit '93a751d6adc00cbc6fb564b27592fc5730a655ef':
Do a better job at finding the activity associated with a dialog when triggering search.
Merge commit '1e52988adc9e7b6136374d01e7537d756ac89f82' into eclair-plus-aosp
* commit '1e52988adc9e7b6136374d01e7537d756ac89f82':
Add more documents on the ACTION_SEND_MULTIPLE intent.
Merge commit 'e8853fc57093e781fa7c659c6eb4da3be9f8695a' into eclair-plus-aosp
* commit 'e8853fc57093e781fa7c659c6eb4da3be9f8695a':
also expose onDrawHorizontalScrollBar() in View
Merge commit 'e5b6d02f34af2cd81615653b00c96a421d5ea819' into eclair-plus-aosp
* commit 'e5b6d02f34af2cd81615653b00c96a421d5ea819':
Translate the content dimension to the view space before setting them to the view.
Merge commit '445f43081e207ee704a5152a5333054d7b4e13a4' into eclair-plus-aosp
* commit '445f43081e207ee704a5152a5333054d7b4e13a4':
NotificationManagerService: Only blink red battery low LED when not charging.