ThreadedCompositor::ThreadedCompositor(Client* client) : m_client(client) , m_deviceScaleFactor(1) , m_threadIdentifier(0) { createCompositingThread(); }
ThreadedCompositor::ThreadedCompositor(Client* client, WebPage& webPage) : m_client(client) , m_threadIdentifier(0) , m_compositingManager(*this) #if USE(REQUEST_ANIMATION_FRAME_DISPLAY_MONITOR) , m_displayRefreshMonitor(adoptRef(new DisplayRefreshMonitor(*this))) #endif { m_clientRendersNextFrame.store(false); m_coordinateUpdateCompletionWithClient.store(false); createCompositingThread(); m_compositingManager.establishConnection(webPage, m_compositingRunLoop->runLoop()); }