Go to file
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
cmds Replace a custom AndroidRuntime::findClass with a more targeted fix. 2011-04-13 16:43:15 -07:00
include Fix a bug where setgeometry couldn't be undone 2011-05-11 18:01:51 -07:00
libs Fix a bug where setgeometry couldn't be undone 2011-05-11 18:01:51 -07:00
opengl fix libagl surface initialization 2011-05-11 13:41:09 -07:00
services/surfaceflinger Fix a race in SurfaceFlinger that could cause layers to be leaked forever. 2011-05-03 20:44:51 -07:00
vpn Make VpnService synchronous API. 2011-01-20 12:51:43 +08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00