summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Fan Xu <fanxu@google.com> 2018-11-08 16:29:13 -0800
committer Fan Xu <fanxu@google.com> 2018-11-14 10:42:21 -0800
commitffde786ffce1afcd7ee574e7b45026d651ac1779 (patch)
treec6ee2a9f13c21b0125653b897402b8f7ec72606b /libs/gui/LayerDebugInfo.cpp
parent18d90eaf05d8b3a21a68d84ebf23ea2326067aad (diff)
Add a service-unique ID to BufferNode
All the BufferNode allocated by bufferhub hwservice now will have a unique ID generated and managed by the UniqueIdGenerator. The idGenerator is placed in global static namespace because 1) therefore it is process-unique 2) BufferNode could still access it without a reference to the service instance. Added UniqueIdGenerator_test. Test: UniqueIdGenerator_test, BufferNode_test, buffer_hub-test, BufferHubBuffer_test passed. Fix: 118844348 Change-Id: I9c9adebab3af7b9de71dbe8728d3f24ed231338d
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions