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

Commit b25aa2e2 authored by Greg Daniel's avatar Greg Daniel Committed by Android (Google) Code Review
Browse files

Merge "Remove old GrFlushFlag for cpu sync which isn't used anymore."

parents ccb66a18 01b0f470
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -122,9 +122,7 @@ void CacheManager::trimMemory(TrimMemoryMode mode) {

    // We must sync the cpu to make sure deletions of resources still queued up on the GPU actually
    // happen.
    GrFlushInfo info;
    info.fFlags = kSyncCpu_GrFlushFlag;
    mGrContext->flush(info);
    mGrContext->flush({});
    mGrContext->submit(true);
}