Platform/GFX/Gralloc: Difference between revisions

Jump to navigation Jump to search
Line 99: Line 99:
** If the new write lock attempt is using a different handle than the one already locked, then this locking operation will wait until the existing lock is released.
** If the new write lock attempt is using a different handle than the one already locked, then this locking operation will wait until the existing lock is released.


Genlock is implemented in the driver. The kernel GL driver is able to lock and unlock directly. Typically, it will place a read lock on any gralloc buffer that's bound to a texture it's sampling from, and unlock when it's done with that texture.
Genlock is implemented in the kernel. The kernel GL driver is able to lock and unlock directly. Typically, it will place a read lock on any gralloc buffer that's bound to a texture it's sampling from, and unlock when it's done with that texture.


== How we lock/unlock Gralloc buffers ==
== How we lock/unlock Gralloc buffers ==
Confirmed users
753

edits

Navigation menu