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

Commit a0efc341 authored by Kevin Lubick's avatar Kevin Lubick
Browse files

[native] Migrate to safer GrDirectContext::submit() API

Follow-up to http://ag/24734421 and http://ag/24790088

Change-Id: Ic31ec19d3eaaef6986481f3c69f896bd83d181d1
parent dbf43956
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -681,7 +681,7 @@ base::unique_fd SkiaVkRenderEngine::flushAndSubmit(GrDirectContext* grContext) {
        flushInfo.fFinishedContext = destroySemaphoreInfo;
    }
    GrSemaphoresSubmitted submitted = grContext->flush(flushInfo);
    grContext->submit(false /* no cpu sync */);
    grContext->submit(GrSyncCpu::kNo);
    int drawFenceFd = -1;
    if (semaphore != VK_NULL_HANDLE) {
        if (GrSemaphoresSubmitted::kYes == submitted) {