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

Commit 515bd282 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't create RenderThread for dumpsys gfxinfo"

parents c78f9700 ba7e9653
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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();