commit | a0efc3414dc24752338ae8f2076ed2b4499e405b | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Wed Sep 20 13:11:52 2023 +0000 |
committer | Kevin Lubick <kjlubick@google.com> | Wed Sep 20 13:11:55 2023 +0000 |
tree | ec32574fcb6c34dc4b6de164358b0bab5656ab3d | |
parent | dbf439564813047b611b544254f996634e5a9b03 [diff] [blame] |
[native] Migrate to safer GrDirectContext::submit() API Follow-up to http://ag/24734421 and http://ag/24790088 Change-Id: Ic31ec19d3eaaef6986481f3c69f896bd83d181d1
diff --git a/libs/renderengine/skia/SkiaVkRenderEngine.cpp b/libs/renderengine/skia/SkiaVkRenderEngine.cpp index 6ecc6ab..17f263d 100644 --- a/libs/renderengine/skia/SkiaVkRenderEngine.cpp +++ b/libs/renderengine/skia/SkiaVkRenderEngine.cpp
@@ -681,7 +681,7 @@ 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) {