replicant-frameworks_native/include
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
..
binder Parcel::appendFrom({const } Parcel *parcel, size_t, size_t) 2011-04-13 10:21:56 -07:00
gui SurfaceTexture: change onFrameAvailable behavior 2011-06-27 15:45:39 -07:00
pim
private unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
surfaceflinger Add method to create a ParcelSurfaceTexture from android.view.Surface. 2011-06-22 16:18:09 -07:00
ui am 61220e88: am bbbab26e: am 2c180499: Merge "Revert velocity damping. Bug: 4364920" into honeycomb-mr2 2011-06-07 17:52:30 -07:00
utils Use rand() for MinGW 2011-06-15 20:55:49 -07:00