Lines Matching refs:Wrapland

49     Wrapland::Server::Display* m_display = nullptr;
51 Wrapland::Client::ConnectionThread* m_connection = nullptr;
52 Wrapland::Server::Compositor* m_serverCompositor = nullptr;
53 Wrapland::Server::ShadowManager* m_shadowInterface = nullptr;
55 Wrapland::Client::EventQueue* m_queue = nullptr;
56 Wrapland::Client::ShmPool* m_shm = nullptr;
57 Wrapland::Client::Compositor* m_compositor = nullptr;
58 Wrapland::Client::ShadowManager* m_shadow = nullptr;
65 qRegisterMetaType<Wrapland::Server::Surface*>(); in init()
67 m_display = new Wrapland::Server::Display(this); in init()
76 m_connection = new Wrapland::Client::ConnectionThread; in init()
77 QSignalSpy connectedSpy(m_connection, &Wrapland::Client::ConnectionThread::establishedChanged); in init()
89 m_queue = new Wrapland::Client::EventQueue(this); in init()
92 Wrapland::Client::Registry registry; in init()
93 QSignalSpy interfacesAnnouncedSpy(&registry, &Wrapland::Client::Registry::interfacesAnnounced); in init()
102 registry.interface(Wrapland::Client::Registry::Interface::Shm).name, in init()
103 registry.interface(Wrapland::Client::Registry::Interface::Shm).version, in init()
107 registry.interface(Wrapland::Client::Registry::Interface::Compositor).name, in init()
108 registry.interface(Wrapland::Client::Registry::Interface::Compositor).version, in init()
112 registry.interface(Wrapland::Client::Registry::Interface::Shadow).name, in init()
113 registry.interface(Wrapland::Client::Registry::Interface::Shadow).version, in init()
151 SIGNAL(surfaceCreated(Wrapland::Server::Surface*))); in testCreateShadow()
154 std::unique_ptr<Wrapland::Client::Surface> surface{m_compositor->createSurface()}; in testCreateShadow()
156 auto serverSurface = serverSurfaceCreated.first().first().value<Wrapland::Server::Surface*>(); in testCreateShadow()
161 QSignalSpy commit_spy(serverSurface, &Wrapland::Server::Surface::committed); in testCreateShadow()
165 std::unique_ptr<Wrapland::Client::Shadow> shadow(m_shadow->createShadow(surface.get())); in testCreateShadow()
168 QCOMPARE(serverSurface->state().updates, Wrapland::Server::surface_change::none); in testCreateShadow()
171 surface->commit(Wrapland::Client::Surface::CommitFlag::None); in testCreateShadow()
174 QVERIFY(serverSurface->state().updates & Wrapland::Server::surface_change::shadow); in testCreateShadow()
194 surface->commit(Wrapland::Client::Surface::CommitFlag::None); in testCreateShadow()
206 SIGNAL(surfaceCreated(Wrapland::Server::Surface*))); in testShadowElements()
209 std::unique_ptr<Wrapland::Client::Surface> surface{m_compositor->createSurface()}; in testShadowElements()
211 auto serverSurface = serverSurfaceCreated.first().first().value<Wrapland::Server::Surface*>(); in testShadowElements()
214 QSignalSpy commit_spy(serverSurface, &Wrapland::Server::Surface::committed); in testShadowElements()
218 std::unique_ptr<Wrapland::Client::Shadow> shadow(m_shadow->createShadow(surface.get())); in testShadowElements()
245 surface->commit(Wrapland::Client::Surface::CommitFlag::None); in testShadowElements()
267 &Wrapland::Server::Buffer::resourceDestroyed); in testShadowElements()
289 SIGNAL(surfaceCreated(Wrapland::Server::Surface*))); in testSurfaceDestroy()
292 std::unique_ptr<Wrapland::Client::Surface> surface{m_compositor->createSurface()}; in testSurfaceDestroy()
294 auto serverSurface = serverSurfaceCreated.first().first().value<Wrapland::Server::Surface*>(); in testSurfaceDestroy()
297 QSignalSpy commit_spy(serverSurface, &Wrapland::Server::Surface::committed); in testSurfaceDestroy()
299 std::unique_ptr<Wrapland::Client::Shadow> shadow(m_shadow->createShadow(surface.get())); in testSurfaceDestroy()
301 surface->commit(Wrapland::Client::Surface::CommitFlag::None); in testSurfaceDestroy()