replicant-frameworks_native/services/surfaceflinger
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
..
DisplayHardware Merge "remove support for console in SurfaceFlinger" 2011-04-19 18:19:15 -07:00
tests frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
Android.mk unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
Barrier.h
clz.cpp
clz.h unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
GLExtensions.cpp add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
GLExtensions.h add support for [1974164] Be able to take a screen shot on the device 2010-09-24 14:56:39 -07:00
Layer.cpp SurfaceTexture: change onFrameAvailable behavior 2011-06-27 15:45:39 -07:00
Layer.h fix RefBase so it retains binary-compatibility with gingerbread 2011-06-13 18:39:45 -07:00
LayerBase.cpp unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
LayerBase.h unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
LayerDim.cpp unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
LayerDim.h unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
MessageQueue.cpp deliver invalidate messages AFTER other messages 2010-10-11 14:11:15 -07:00
MessageQueue.h
MODULE_LICENSE_APACHE2
SurfaceFlinger.cpp unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
SurfaceFlinger.h unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
SurfaceTextureLayer.cpp unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
SurfaceTextureLayer.h unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
TextureManager.cpp frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
TextureManager.h fix [2931513] Add support for setting the orientation of an ANativeWindow 2010-08-24 15:40:50 -07:00
Transform.cpp really fix [3118445] Transform * Transform does not work as expected 2010-10-27 18:04:11 -07:00
Transform.h fix [3118445] Transform * Transform does not work as expected 2010-10-24 14:53:05 -07:00