OSDN Git Service

graphics: keep mapper valid during process termination
authorChia-I Wu <olv@google.com>
Wed, 19 Apr 2017 18:03:00 +0000 (11:03 -0700)
committerChia-I Wu <olv@google.com>
Wed, 19 Apr 2017 18:47:25 +0000 (11:47 -0700)
commit78b63dc6a1aff1cecd706808aeb950966c654f14
tree25dbdf9f3db77f5f2568ea2bce5d9385499d3b49
parentc10abf09f7fe6042eab1cc7436e9902d66e6e4e1
graphics: keep mapper valid during process termination

GraphicBufferMapper is valid during process termination.  IMapper
must stay valid as well.  It should not rely on global/static
objects that may have been destructed.

Bug: 37480313
Test: libgui_test
Change-Id: Icb8079153306f2465c26c0f1ce812895ad83f21b
graphics/mapper/2.0/default/GrallocMapper.cpp
graphics/mapper/2.0/default/GrallocMapper.h