Skip to content

Commit

Permalink
Adding the begin frame message for later xtrace post processing. (#7903)
Browse files Browse the repository at this point in the history
BUG=343930963
  • Loading branch information
phoenixxxx committed Jun 5, 2024
1 parent 4c6d653 commit 0206687
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions filament/backend/src/vulkan/VulkanDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,10 @@ void VulkanDriver::collectGarbage() {
}
void VulkanDriver::beginFrame(int64_t monotonic_clock_ns,
int64_t refreshIntervalNs, uint32_t frameId) {
FVK_SYSTRACE_CONTEXT();
FVK_SYSTRACE_START("beginFrame");
// Do nothing.
FVK_SYSTRACE_END();
}

void VulkanDriver::setFrameScheduledCallback(Handle<HwSwapChain> sch,
Expand Down

0 comments on commit 0206687

Please sign in to comment.