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

Commit f3f90cfc authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't access IAllocator from isolated process" into main

parents aaf6c02e 0341ba5b
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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()) {