Loading libs/hwui/renderthread/RenderProxy.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -241,9 +241,11 @@ uint32_t RenderProxy::frameTimePercentile(int percentile) { } void RenderProxy::dumpGraphicsMemory(int fd) { if (RenderThread::hasInstance()) { auto& thread = RenderThread::getInstance(); thread.queue().runSync([&]() { thread.dumpGraphicsMemory(fd); }); } } void RenderProxy::setProcessStatsBuffer(int fd) { auto& rt = RenderThread::getInstance(); Loading Loading
libs/hwui/renderthread/RenderProxy.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -241,9 +241,11 @@ uint32_t RenderProxy::frameTimePercentile(int percentile) { } void RenderProxy::dumpGraphicsMemory(int fd) { if (RenderThread::hasInstance()) { auto& thread = RenderThread::getInstance(); thread.queue().runSync([&]() { thread.dumpGraphicsMemory(fd); }); } } void RenderProxy::setProcessStatsBuffer(int fd) { auto& rt = RenderThread::getInstance(); Loading