mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Allow disabling vsync capture.
This commit is contained in:
parent
a48d540854
commit
a34abe646c
@ -439,7 +439,9 @@ bool SysTraceStart( int64_t& samplingPeriod )
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifndef TRACY_NO_VSYNC_CAPTURE
|
||||
SetupVsync();
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -1809,6 +1809,8 @@ For proper program code retrieval no module used by the application can be unloa
|
||||
|
||||
On Windows Tracy will automatically capture hardware Vsync events, if running with elevated privileges (see section~\ref{contextswitches}). These events will be reported as '\texttt{[x] Vsync}' frame sets, where \texttt{x} is the identifier of a specific monitor. Note that hardware vertical synchronization might not correspond to the one seen by your application, due to desktop composition, command queue buffering, etc.
|
||||
|
||||
Use the \texttt{TRACY\_NO\_VSYNC\_CAPTURE} macro to disable capture of Vsync events.
|
||||
|
||||
\subsection{Trace parameters}
|
||||
\label{traceparameters}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user