replicant-frameworks_native/libs/ui
Francis Hart 8f3960179c Use asynchronous lock/unlock API
The gralloc API now provides a way for using lock/unlock with the Android
explicit synchronisation concept. This changes updates the GraphicBuffer class
to also expose this functionality, and updates the Surface class to make use of
in line with the dequeueBuffer/queueBuffer mechanism.

This new behaviour is dependent on GRALLOC_MODULE_API_VERSION_0_3. If the local
gralloc module does not support this then the existing synchronous lock/unlock
mechanism will be used.

Change-Id: I8c3fd9592e0c5400ac9be84450f55a77cc0bbdc5
2014-05-12 09:13:03 -07:00
..
tests
Android.mk
Fence.cpp
FramebufferNativeWindow.cpp
GraphicBuffer.cpp Use asynchronous lock/unlock API 2014-05-12 09:13:03 -07:00
GraphicBufferAllocator.cpp
GraphicBufferMapper.cpp Use asynchronous lock/unlock API 2014-05-12 09:13:03 -07:00
MODULE_LICENSE_APACHE2
NOTICE
PixelFormat.cpp
Rect.cpp
Region.cpp
UiConfig.cpp