replicant-frameworks_native/libs/gui
Jamie Gennis 1c121f68fc SurfaceTexture: allow set_buffer_count(2)
This change relaxes an error check in SurfaceTexture::setBufferCount to
allow clients to explicitly set a buffer count of 2.  The clients that
will do this are camera and video decode.  Previously it was thought
that for those clients we would always use async mode, which requires a
minimum of 3 buffers.  However, we now believe that for some devices it
may make sense to use synchronous mode (with 2 buffers) to reduce memory
usage.

Bug: 5088418
Change-Id: I620a0ef75075745be9d6c8219e0246aaf33ba950
2011-07-30 16:00:11 -07:00
..
tests Merge "SurfaceTexture: enable RGB external textures" 2011-07-25 11:46:51 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:16 -07:00
IGraphicBufferAlloc.cpp return an error code with gralloc buffer allocation failures 2011-07-01 14:53:49 -07:00
ISensorEventConnection.cpp new SensorService 2010-07-19 17:57:29 -07:00
ISensorServer.cpp new SensorService 2010-07-19 17:57:29 -07:00
ISurface.cpp unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
ISurfaceComposer.cpp SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
ISurfaceComposerClient.cpp clean-up. get rid ofunused code and members in Surface[Control].cpp 2011-07-20 16:53:13 -07:00
ISurfaceTexture.cpp SurfaceTexture: add the abandon method. 2011-07-22 14:20:41 -07:00
LayerState.cpp SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
Sensor.cpp 9-axis sensor fusion with Kalman filter 2011-05-27 17:04:55 -07:00
SensorChannel.cpp first step at implementing the native sensor support 2010-07-13 22:21:56 -07:00
SensorEventQueue.cpp Fix typo which causes sensors to fail miserably 2010-09-16 21:41:13 -07:00
SensorManager.cpp new SensorService 2010-07-19 17:57:29 -07:00
Surface.cpp Add support for creating a Surface from a a SurfaceTexture. 2011-07-22 16:36:44 -07:00
SurfaceComposerClient.cpp clean-up. get rid ofunused code and members in Surface[Control].cpp 2011-07-20 16:53:13 -07:00
SurfaceTexture.cpp SurfaceTexture: allow set_buffer_count(2) 2011-07-30 16:00:11 -07:00
SurfaceTextureClient.cpp remove dead code and member variables. 2011-07-25 20:03:43 -07:00