Changes

Jump to: navigation, search

Platform/GFX/Gralloc

1 byte removed, 04:30, 29 July 2013
m
How we manage the lifetime of Gralloc buffers
Most of our gralloc buffers are owned in this way by GrallocBufferActor's. The question then becomes, what controls the lifetime of GrallocBufferActors?
GrallocBufferActors are "managed" by IPDL-generated code. When they are created by the above-described protocol, as said above, they are added to the "managee lists" of the LayerTransactionParent on the compositor side, and of the LayerTransactionParent LayerTransactionChild on the content side.
GrallocBufferActors are destroyed when either a "delete" IPC message is sent (see: Send__delete__) or the top-level IPDL manager goes away.
Confirm
51
edits

Navigation menu