Platform/GFX/Gralloc: Difference between revisions

Jump to navigation Jump to search
 
Line 104: Line 104:


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.
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.
A logging patch for genlock that lets you see locking across process is here: [http://people.mozilla.com/~jmuizelaar/genlock-logging-patch]


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

edits

Navigation menu