mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[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:
parent
aa890e3d65
commit
635a109a6d
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user