mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Implement a Performance Counter Viewer pane, hook up selection dialog
This commit is contained in:
committed by
baldurk
parent
7d15d75638
commit
03343239c7
@@ -1147,6 +1147,13 @@ as well as messages generated during replay and analysis.
|
||||
)");
|
||||
virtual IDebugMessageView *GetDebugMessageView() = 0;
|
||||
|
||||
DOCUMENT(R"(Retrieve the current singleton :class:`PerformanceCounterViewer`.
|
||||
|
||||
:return: The current window, which is created (but not shown) it there wasn't one open.
|
||||
:rtype: PerformanceCounterViewer
|
||||
)");
|
||||
virtual IPerformanceCounterViewer *GetPerformanceCounterViewer() = 0;
|
||||
|
||||
DOCUMENT(R"(Retrieve the current singleton :class:`StatisticsViewer`.
|
||||
|
||||
:return: The current window, which is created (but not shown) it there wasn't one open.
|
||||
@@ -1217,6 +1224,13 @@ as well as messages generated during replay and analysis.
|
||||
)");
|
||||
virtual bool HasDebugMessageView() = 0;
|
||||
|
||||
DOCUMENT(R"(Check if there is a current :class:`PerformanceCounterViewer` open.
|
||||
|
||||
:return: ``True`` if there is a window open.
|
||||
:rtype: ``bool``
|
||||
)");
|
||||
virtual bool HasPerformanceCounterViewer() = 0;
|
||||
|
||||
DOCUMENT(R"(Check if there is a current :class:`StatisticsViewer` open.
|
||||
|
||||
:return: ``True`` if there is a window open.
|
||||
@@ -1253,6 +1267,10 @@ as well as messages generated during replay and analysis.
|
||||
DOCUMENT(
|
||||
"Raise the current :class:`DebugMessageView`, showing it in the default place if needed.");
|
||||
virtual void ShowDebugMessageView() = 0;
|
||||
DOCUMENT(
|
||||
"Raise the current :class:`PerformanceCounterViewer`, showing it in the default place if "
|
||||
"needed.");
|
||||
virtual void ShowPerformanceCounterViewer() = 0;
|
||||
DOCUMENT(
|
||||
"Raise the current :class:`StatisticsViewer`, showing it in the default place if needed.");
|
||||
virtual void ShowStatisticsViewer() = 0;
|
||||
|
||||
Reference in New Issue
Block a user