Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show All 35 Lines | |||||
36 | namespace KWayland { | 36 | namespace KWayland { | ||
37 | namespace Server { | 37 | namespace Server { | ||
38 | class OutputConfigurationInterface; | 38 | class OutputConfigurationInterface; | ||
39 | } | 39 | } | ||
40 | } | 40 | } | ||
41 | 41 | | |||
42 | namespace KWin | 42 | namespace KWin | ||
43 | { | 43 | { | ||
44 | namespace ColorCorrect { | 44 | namespace ColorCorrect { | ||
zzag: Unrelated change, please remove it. | |||||
45 | class Manager; | 45 | class Manager; | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | class AbstractOutput; | 48 | class AbstractOutput; | ||
49 | class Edge; | 49 | class Edge; | ||
50 | class Compositor; | 50 | class Compositor; | ||
51 | class OverlayWindow; | 51 | class OverlayWindow; | ||
52 | class OpenGLBackend; | 52 | class OpenGLBackend; | ||
▲ Show 20 Lines • Show All 306 Lines • ▼ Show 20 Line(s) | 82 | public: | |||
359 | 359 | | |||
360 | /** | 360 | /** | ||
361 | * Creates the OverlayWindow required for X11 based compositors. | 361 | * Creates the OverlayWindow required for X11 based compositors. | ||
362 | * Default implementation returns @c nullptr. | 362 | * Default implementation returns @c nullptr. | ||
363 | */ | 363 | */ | ||
364 | virtual OverlayWindow *createOverlayWindow(); | 364 | virtual OverlayWindow *createOverlayWindow(); | ||
365 | 365 | | |||
366 | /** | 366 | /** | ||
367 | * Allows a platform to update the X11 timestamp. | 367 | * Allows a platform to update the X11 timestamp, asynchrounously. | ||
368 | * Mostly for the X11 standalone platform to interact with QX11Info. | | |||
369 | * | | |||
370 | * Default implementation does nothing. This means code relying on the X timestamp being up to date, | | |||
371 | * might not be working. E.g. synced X11 window resizing | | |||
372 | */ | 368 | */ | ||
373 | virtual void updateXTime(); | 369 | void updateXTime(); | ||
374 | 370 | | |||
375 | /** | 371 | /** | ||
376 | * Creates the OutlineVisual for the given @p outline. | 372 | * Creates the OutlineVisual for the given @p outline. | ||
377 | * Default implementation creates an OutlineVisual suited for composited usage. | 373 | * Default implementation creates an OutlineVisual suited for composited usage. | ||
378 | */ | 374 | */ | ||
379 | virtual OutlineVisual *createOutline(Outline *outline); | 375 | virtual OutlineVisual *createOutline(Outline *outline); | ||
380 | 376 | | |||
381 | /** | 377 | /** | ||
▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines |
Unrelated change, please remove it.