| 305 | LinuxContextFactory(Display * display, Window window) : m_display(display), m_window(window) {} |
| 306 | |
| 307 | dp::GraphicsContext * GetDrawContext() override |
| 308 | { |
| 309 | std::lock_guard<std::mutex> lock(m_contextAccess); |
| 310 | if (m_drawContext == nullptr) |
| 311 | m_drawContext = std::make_unique<LinuxGLContext>(m_glx, m_display, m_window, m_uploadContext.get(), false); |
| 312 | return m_drawContext.get(); |
| 313 | } |
| 314 | |
| 315 | dp::GraphicsContext * GetResourcesUploadContext() override |
| 316 | { |
no test coverage detected