Age | Commit message (Collapse) | Author |
|
The shared_fd should only be closed by the control side. Previously,
the shared_fd would be closed by the data side first then closed again
by the control side. This caused problems when the fd was reused for
a different purpose between the first and second close.
|
|
When the overlay has not fully shutdown in one instance and a second
instance is created the call to create the overlay will fail. Upon failure,
a bug in the error handling was exposed. This patch fixes the
error handling and retries the overlay creation.
|
|
|
|
Originally from: https://partner.source.android.com/g/#change,1193
Tested with camera stress tests (the latest version) and did not see hang issue
|
|
|
|
Clients of the overlay abstraction do not know if streaming has
been started, so they will continue to queue/dequeue buffers.
This will result in extra errors logs that are not really errors.
Originally from: https://partner.source.android.com/g/#change,1060
|
|
Change-Id: I9a5d646a876d991961173086ecd0a5f3c33192b9
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
|
|
In order to avoid deadlocking in the case where the control side of
overlay is deallocated before the data side, reference count the shared
memory used in liboverlay.
Originally from: https://partner.source.android.com/g/#change,1006
|
|
Originally from: https://partner.source.android.com/g/#change,921
|
|
from 4 to 6. 6 is the number of buffers actually being
supported already in the kernel.
Originally from: https://partner.source.android.com/g/#change,928
Removed all changes to the LOGE so that we keep the failure log
messages for now.
|
|
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
|
|
happens as all the buffers are flushed when stream_off is called
Bug 2087567
Originally from: https://partner.source.android.com/g/#change,903
Fixed a typo "=" => "==" on line 183, android_surface_output_omap34xx.cpp
|
|
Originally from: https://partner.source.android.com/g/#change,902
|
|
descriptor, offset and size
|
|
|
|
|
|
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
|
|
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
|
|
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
|