Changeset View
Changeset View
Standalone View
Standalone View
src/server/surface_interface_p.h
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Line(s) | 35 | public: | |||
---|---|---|---|---|---|
84 | QRegion trackedDamage; | 84 | QRegion trackedDamage; | ||
85 | 85 | | |||
86 | // workaround for https://bugreports.qt.io/browse/QTBUG-52192 | 86 | // workaround for https://bugreports.qt.io/browse/QTBUG-52192 | ||
87 | // A subsurface needs to be considered mapped even if it doesn't have a buffer attached | 87 | // A subsurface needs to be considered mapped even if it doesn't have a buffer attached | ||
88 | // Otherwise Qt's sub-surfaces will never be visible and the client will freeze due to | 88 | // Otherwise Qt's sub-surfaces will never be visible and the client will freeze due to | ||
89 | // waiting on the frame callback of the never visible surface | 89 | // waiting on the frame callback of the never visible surface | ||
90 | bool subSurfaceIsMapped = true; | 90 | bool subSurfaceIsMapped = true; | ||
91 | 91 | | |||
92 | QVector<OutputInterface *> outputs; | ||||
93 | | ||||
92 | private: | 94 | private: | ||
93 | SurfaceInterface *q_func() { | 95 | SurfaceInterface *q_func() { | ||
94 | return reinterpret_cast<SurfaceInterface *>(q); | 96 | return reinterpret_cast<SurfaceInterface *>(q); | ||
95 | } | 97 | } | ||
96 | void swapStates(State *source, State *target, bool emitChanged); | 98 | void swapStates(State *source, State *target, bool emitChanged); | ||
97 | void damage(const QRect &rect); | 99 | void damage(const QRect &rect); | ||
98 | void setScale(qint32 scale); | 100 | void setScale(qint32 scale); | ||
99 | void setTransform(OutputInterface::Transform transform); | 101 | void setTransform(OutputInterface::Transform transform); | ||
Show All 25 Lines |