| 1850 | } |
| 1851 | |
| 1852 | bool Viewer::isMultiViewportAvailable() |
| 1853 | { |
| 1854 | #ifdef __EMSCRIPTEN__ |
| 1855 | return false; |
| 1856 | #elif GLFW_VERSION_MAJOR > 3 || ( GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR >= 4 ) |
| 1857 | // ImGui multi-viewport has unresolved issues with tooltips on X11 (incorrect window class?) |
| 1858 | // See also: |
| 1859 | // - https://github.com/ocornut/imgui/issues/7950 |
| 1860 | // - https://github.com/ocornut/imgui/issues/8252 |
| 1861 | return !hasScaledFramebuffer_ && glfwGetPlatform() != GLFW_PLATFORM_X11; |
| 1862 | #else |
| 1863 | return !hasScaledFramebuffer_; |
| 1864 | #endif |
| 1865 | } |
| 1866 | |
| 1867 | void Viewer::drawFull( bool dirtyScene ) |
| 1868 | { |
no outgoing calls
no test coverage detected