Changes

Jump to: navigation, search

Platform/GFX/Gralloc

30 bytes added, 18:09, 16 May 2013
Drawing from Gralloc buffers (binding to GL textures)
The read lock placed directly by fEGLImageTargetTexture2D is unlocked in GrallocTextureHostOGL::Unlock. However, we don't have a very good way to do that; see below ("Unresolved problems").
The read lock placed internally by the GL kernel driver gets released at some point after it's finished drawing; we don't know very precisely when. The following is somewhat speculative, not firmly established(QUESTION: so is it correct?): as the GL kernel driver uses a different handle than we do, its read lock doesn't cause failure of our subsequent attempts to lock the gralloc buffer for write; instead, it just causes it to wait until it's released.
== Unresolved problems ==
Confirm
753
edits

Navigation menu