Home
last modified time | relevance | path

Searched refs:sHostCon (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish-opengl/system/hwc3/
DHostUtils.cpp24 static std::unique_ptr<HostConnection> sHostCon; in createOrGetHostConnection() local
26 if (!sHostCon) { in createOrGetHostConnection()
27 sHostCon = HostConnection::createUnique(); in createOrGetHostConnection()
29 return sHostCon.get(); in createOrGetHostConnection()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp465 static HostConnection* sHostCon = NULL; variable
468 if (!sHostCon) { in createOrGetHostConnection()
469 sHostCon = HostConnection::createUnique().release(); in createOrGetHostConnection()
471 return sHostCon; in createOrGetHostConnection()
1020 if (sHostCon) { in gralloc_device_close()
1021 delete sHostCon; in gralloc_device_close()
1022 sHostCon = nullptr; in gralloc_device_close()