Changeset View
Changeset View
Standalone View
Standalone View
scene.h
Show All 28 Lines | |||||
29 | #include <QMatrix4x4> | 29 | #include <QMatrix4x4> | ||
30 | 30 | | |||
31 | class QOpenGLFramebufferObject; | 31 | class QOpenGLFramebufferObject; | ||
32 | 32 | | |||
33 | namespace KWaylandServer | 33 | namespace KWaylandServer | ||
34 | { | 34 | { | ||
35 | class BufferInterface; | 35 | class BufferInterface; | ||
36 | class SubSurfaceInterface; | 36 | class SubSurfaceInterface; | ||
37 | class ScreencastStreamInterface; | ||||
37 | } | 38 | } | ||
38 | 39 | | |||
39 | namespace KWin | 40 | namespace KWin | ||
40 | { | 41 | { | ||
41 | 42 | | |||
42 | namespace Decoration | 43 | namespace Decoration | ||
43 | { | 44 | { | ||
44 | class DecoratedClientImpl; | 45 | class DecoratedClientImpl; | ||
▲ Show 20 Lines • Show All 297 Lines • ▼ Show 20 Line(s) | 292 | public: | |||
342 | virtual WindowQuadList buildQuads(bool force = false) const; | 343 | virtual WindowQuadList buildQuads(bool force = false) const; | ||
343 | void updateShadow(Shadow* shadow); | 344 | void updateShadow(Shadow* shadow); | ||
344 | const Shadow* shadow() const; | 345 | const Shadow* shadow() const; | ||
345 | Shadow* shadow(); | 346 | Shadow* shadow(); | ||
346 | void referencePreviousPixmap(); | 347 | void referencePreviousPixmap(); | ||
347 | void unreferencePreviousPixmap(); | 348 | void unreferencePreviousPixmap(); | ||
348 | void invalidateQuadsCache(); | 349 | void invalidateQuadsCache(); | ||
349 | void preprocess(); | 350 | void preprocess(); | ||
351 | virtual void startStreaming(KWaylandServer::ScreencastStreamInterface* stream); | ||||
352 | | ||||
350 | protected: | 353 | protected: | ||
351 | WindowQuadList makeDecorationQuads(const QRect *rects, const QRegion ®ion, qreal textureScale = 1.0) const; | 354 | WindowQuadList makeDecorationQuads(const QRect *rects, const QRegion ®ion, qreal textureScale = 1.0) const; | ||
352 | WindowQuadList makeContentsQuads() const; | 355 | WindowQuadList makeContentsQuads() const; | ||
353 | /** | 356 | /** | ||
354 | * @brief Returns the WindowPixmap for this Window. | 357 | * @brief Returns the WindowPixmap for this Window. | ||
355 | * | 358 | * | ||
356 | * If the WindowPixmap does not yet exist, this method will invoke createWindowPixmap. | 359 | * If the WindowPixmap does not yet exist, this method will invoke createWindowPixmap. | ||
357 | * If the WindowPixmap is not valid it tries to create it, in case this succeeds the WindowPixmap is | 360 | * If the WindowPixmap is not valid it tries to create it, in case this succeeds the WindowPixmap is | ||
▲ Show 20 Lines • Show All 371 Lines • Show Last 20 Lines |