Go to file
Mathias Agopian cbb288bfe8 fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
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
2009-09-07 16:32:45 -07:00
awt Removed system/framework/android.awt.jar. 2009-07-02 14:11:33 -05:00
camera/libcameraservice Modified the camera HAL interface to use the same generic callback architecture as camera services 2009-08-13 10:46:28 -07:00
cmds Fix network order for marshalling in keystore interface. 2009-08-10 16:13:00 +08:00
include fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
libs fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
opengl Simple app to create a gl2 context and dump the strings. 2009-09-01 20:41:05 -07:00
vpn/java/android/net/vpn Simplifies err code propagation. 2009-08-28 09:59:39 +08:00
MODULE_LICENSE_APACHE2
NOTICE Start using CLDR for some date-and-time strings and formats. 2009-05-15 10:15:50 -07:00