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

Commit 01b0f470 authored by Greg Daniel's avatar Greg Daniel
Browse files

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

Test: manual
Change-Id: Ib362f228c18b6c452e66debe6f6f076451670cd7
parent b67120f9
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);
}