[Impeller] Add fence waiter trace event. (flutter/engine#43092)
I suspect that some of the worst frame times are caused by submission blocking on adding a fence. Add a trace event that would make that obvious. 
This commit is contained in:
@@ -30,6 +30,7 @@ bool FenceWaiterVK::IsValid() const {
|
||||
|
||||
bool FenceWaiterVK::AddFence(vk::UniqueFence fence,
|
||||
const fml::closure& callback) {
|
||||
TRACE_EVENT0("flutter", "FenceWaiterVK::AddFence");
|
||||
if (!IsValid() || !fence || !callback) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user