OSDN Git Service

libgui: Don't assign handle to NULL after free is common
authorCaio Schnepper <caioschnepper@gmail.com>
Wed, 25 Nov 2015 19:51:30 +0000 (17:51 -0200)
committerSteve Kondik <steve@cyngn.com>
Thu, 1 Sep 2016 06:33:23 +0000 (23:33 -0700)
commitf6d4ddf3a55b6af50e7f43afed083c5178653e93
tree3c4b2e000c6589ca4c19ad63e53f0450c6ce7e67
parent624ca1dbe8cfc487e630fa19993ab324b0dac91f
libgui: Don't assign handle to NULL after free is common

Reportedly Mali and PowerVR GPUs are crashing when setting handle to NULL
So we will set a flag for the devices that might need this aswell

Set BOARD_EGL_NEEDS_HANDLE_VALUE=true in BoardConfig.mk to use

Change-Id: I6c967f62dc6adced7583d7b2045d11cf5b25fc80
libs/ui/Android.mk
libs/ui/GraphicBuffer.cpp