Loading libs/hwui/renderthread/RenderProxy.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -323,10 +323,12 @@ void RenderProxy::dumpGraphicsMemory(int fd, bool includeProfileData, bool reset } }); } if (!Properties::isolatedProcess) { std::string grallocInfo; GraphicBufferAllocator::getInstance().dump(grallocInfo); dprintf(fd, "%s\n", grallocInfo.c_str()); } } void RenderProxy::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) { if (RenderThread::hasInstance()) { Loading Loading
libs/hwui/renderthread/RenderProxy.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -323,10 +323,12 @@ void RenderProxy::dumpGraphicsMemory(int fd, bool includeProfileData, bool reset } }); } if (!Properties::isolatedProcess) { std::string grallocInfo; GraphicBufferAllocator::getInstance().dump(grallocInfo); dprintf(fd, "%s\n", grallocInfo.c_str()); } } void RenderProxy::getMemoryUsage(size_t* cpuUsage, size_t* gpuUsage) { if (RenderThread::hasInstance()) { Loading