replicant-frameworks_native/include/gui
Mathias Agopian c04f153353 Fix a bug where setgeometry couldn't be undone
This change the binder protocol between SurfaceTextureClient
and SurfaceTexture. dequeueBuffer() now takes the requested
parameters for the buffer. SurfaceTexture decides if the
buffer needs to be reallocated and does the allocation
if needed. In that case it returns BUFFER_NEEDS_REALLOCATION
to tell SurfaceTextureClient that it needs to call
requestBuffer (which all parameters have been removed) to
acquire a pointer to the buffer.

dequeueBuffer and requestBuffer could be folded into a single
IPC call, but we chose to optimize the case where buffers are
not created and avoid some complexity in the marshalling code.

Change-Id: I097a7f6f40a3491e10f3f3742eab33999286c304
2011-05-11 18:01:51 -07:00
..
ISensorEventConnection.h
ISensorServer.h
ISurfaceTexture.h Fix a bug where setgeometry couldn't be undone 2011-05-11 18:01:51 -07:00
Sensor.h
SensorChannel.h
SensorEventQueue.h
SensorManager.h
SurfaceTexture.h Fix a bug where setgeometry couldn't be undone 2011-05-11 18:01:51 -07:00
SurfaceTextureClient.h frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00