Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba7e9653 authored by John Reck's avatar John Reck
Browse files

Don't create RenderThread for dumpsys gfxinfo

Change-Id: I4cbad14ad6f952ddec11eb732701909fd75ff137
Fixes: 121129527
Test: guess
parent 6f19cbdd
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -244,9 +244,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();