Explicitly wait for subpass buffers to be scheduled. (flutter/engine#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.
This commit is contained in:
@@ -173,6 +173,7 @@ bool CommandBufferMTL::SubmitCommands(CompletionCallback callback) {
|
||||
}
|
||||
|
||||
[buffer_ commit];
|
||||
[buffer_ waitUntilScheduled];
|
||||
buffer_ = nil;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user