Go to file
Jamie Gennis 3d8063b02e SurfaceTexture: change onFrameAvailable behavior
This change alters the conditions under which the onFrameAvailable
callback gets called by the C++ SurfaceTexture class.  The new behavior
is to call the callback whenever a frame gets queued that will be
visible to the buffer consumer.  This means that buffers queued in
synchronous mode always trigger the callback, as those buffers will
remain pending until they are consumed.  Buffers queued in asynchronous
mode will only trigger the callback if there was not previously an
unconsumed buffer pending.

The new behavior means that a consumer should perform a draw operation
exactly once for every onFrameAvailable call that it recieves.  This
change also modifies SurfaceFlinger and the SurfaceTexture JNI to
support of the new behavior.

Change-Id: I8b2c6e00961d3d58b11c6af50b555b6e4c5f5b40
2011-06-27 15:45:39 -07:00
cmds KeyStore: allow system user to get secrets from keystore. 2011-06-26 18:24:19 -07:00
include SurfaceTexture: change onFrameAvailable behavior 2011-06-27 15:45:39 -07:00
libs SurfaceTexture: change onFrameAvailable behavior 2011-06-27 15:45:39 -07:00
opengl
services/surfaceflinger SurfaceTexture: change onFrameAvailable behavior 2011-06-27 15:45:39 -07:00
vpn
MODULE_LICENSE_APACHE2
NOTICE