MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / getWindowInfo

Method getWindowInfo

pcsx2-qt/MainWindow.cpp:1741–1749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1739}
1740
1741std::optional<WindowInfo> MainWindow::getWindowInfo()
1742{
1743 if (!m_display_surface || isRenderingToMain())
1744 return QtUtils::GetWindowInfoForWindow(this);
1745 else if (m_display_surface)
1746 return QtUtils::GetWindowInfoForWindow(m_display_surface);
1747 else
1748 return std::nullopt;
1749}
1750
1751void MainWindow::onGameListRefreshProgress(const QString& status, int current, int total)
1752{

Callers 1

acquireRenderWindowMethod · 0.45

Calls 1

GetWindowInfoForWindowFunction · 0.85

Tested by

no test coverage detected