7#include <phosphorzones_export.h>
39 static LayoutSnapshot buildSnapshot(
Layout* layout,
const QString& screenId,
const QRectF& screenGeometry);
41 void onLayoutRemoved(
const QUuid& layoutId);
43 QHash<QUuid, QPointer<Layout>> m_trackedLayouts;
44 QHash<QString, uint64_t> m_screenGeneration;
45 QPointer<LayoutRegistry> m_layoutManager;
46 QThread* m_thread =
nullptr;
Definition LayoutComputeService.h:21
~LayoutComputeService() override
void setLayoutManager(LayoutRegistry *manager)
static void recalculateSync(Layout *layout, const QRectF &screenGeometry)
LayoutComputeService(QObject *parent=nullptr)
bool requestRecalculate(Layout *layout, const QString &screenId, const QRectF &screenGeometry)
void geometriesComputed(const QString &screenId, const QUuid &layoutId, PhosphorZones::Layout *layout)
void requestCompute(const PhosphorZones::LayoutSnapshot &snapshot, uint64_t generation)
Manual zone-layout registry + per-context assignment store.
Definition LayoutRegistry.h:48
Definition LayoutWorker.h:13
Represents a collection of zones that form a layout.
Definition Layout.h:74
constexpr QLatin1String LayoutRegistry("org.plasmazones.LayoutRegistry")
Definition IWindowTrackingService.h:22
Definition LayoutComputeTypes.h:41
Definition LayoutComputeTypes.h:27