mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Reverse the root window compile option.
This commit is contained in:
parent
58bb5d40c5
commit
d495431f24
@ -568,7 +568,7 @@ The following defines may be of interest:
|
||||
\begin{itemize}
|
||||
\item \texttt{TRACY\_FILESELECTOR} -- controls whether a system load/save dialog is compiled in. If it's left out, the saved traces will be named \texttt{trace.tracy}.
|
||||
\item \texttt{TRACY\_NO\_STATISTICS} -- Tracy will perform statistical data collection on the fly, if this macro is \emph{not} defined. This allows extended analysis of the trace (for example, you can perform a live search for matching zones) at a small CPU processing cost and a considerable memory usage increase (at least 8 bytes per zone).
|
||||
\item \texttt{TRACY\_ROOT\_WINDOW} -- the main profiler view will occupy whole window if this macro is defined. Additional setup is required for this to work. If you are embedding the server into your application you probably do \emph{not} want this.
|
||||
\item \texttt{TRACY\_NO\_ROOT\_WINDOW} -- the main profiler view won't occupy whole window if this macro is defined. Additional setup is required for this to work. If you are embedding the server into your application you probably want to enable this option.
|
||||
\end{itemize}
|
||||
|
||||
\subsection{Naming threads}
|
||||
|
@ -1,6 +1,6 @@
|
||||
CFLAGS +=
|
||||
CXXFLAGS := $(CFLAGS) -std=c++17
|
||||
DEFINES += -DTRACY_FILESELECTOR -DTRACY_ROOT_WINDOW -DIMGUI_IMPL_OPENGL_LOADER_GL3W
|
||||
DEFINES += -DTRACY_FILESELECTOR -DIMGUI_IMPL_OPENGL_LOADER_GL3W
|
||||
INCLUDES := $(shell pkg-config --cflags glfw3 freetype2 capstone) -I../../../imgui -I../../libs/gl3w
|
||||
LIBS := $(shell pkg-config --libs glfw3 freetype2 capstone) -lpthread -ldl
|
||||
PROJECT := Tracy
|
||||
|
@ -423,7 +423,7 @@ bool View::DrawImpl()
|
||||
keepOpenPtr = &keepOpen;
|
||||
}
|
||||
|
||||
#ifdef TRACY_ROOT_WINDOW
|
||||
#ifndef TRACY_NO_ROOT_WINDOW
|
||||
if( !m_titleSet && m_stcb )
|
||||
{
|
||||
m_titleSet = true;
|
||||
|
Loading…
Reference in New Issue
Block a user