OSDN Git Service

Add unique ID to GraphicBuffer
authorDan Stoza <stoza@google.com>
Fri, 28 Mar 2014 22:10:52 +0000 (15:10 -0700)
committerDan Stoza <stoza@google.com>
Mon, 31 Mar 2014 21:10:07 +0000 (14:10 -0700)
commitb1363d37fc6a661508fad106eb7698c5850a6c17
tree73d95d7810e96e5bb5e8ddc47bc4b84e33f59277
parentf0eaf25e9247edf4d124bedaeb863f7abdf35a3e
Add unique ID to GraphicBuffer

Adds a globally-unique ID (PID + sequence number) to every
GraphicBuffer, which will remain the same while crossing Binder,
even if the underlying handles change.

Change-Id: Ib11330a4c5e99621b82204e0adb31b9a88658426
include/ui/GraphicBuffer.h
libs/ui/GraphicBuffer.cpp