Skip to content

Commit 93c5919

Browse files
chinmaygardednfield
authored andcommitted
Explicitly wait for subpass buffers to be scheduled. (flutter#115)
This is pending the addition of explicit synchronization primitives to Impeller. It is unclear what the addition of such primitives would mean to the future OpenGL ES backend.
1 parent 6e8368c commit 93c5919

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

impeller/renderer/backend/metal/command_buffer_mtl.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ static void LogMTLCommandBufferErrorIfPresent(id<MTLCommandBuffer> buffer) {
173173
}
174174

175175
[buffer_ commit];
176+
[buffer_ waitUntilScheduled];
176177
buffer_ = nil;
177178
return true;
178179
}

0 commit comments

Comments
 (0)