Changeset View
Changeset View
Standalone View
Standalone View
platform.h
Show All 36 Lines | 36 | namespace Server { | |||
---|---|---|---|---|---|
37 | class OutputConfigurationInterface; | 37 | class OutputConfigurationInterface; | ||
38 | } | 38 | } | ||
39 | } | 39 | } | ||
40 | 40 | | |||
41 | namespace KWin | 41 | namespace KWin | ||
42 | { | 42 | { | ||
43 | namespace ColorCorrect { | 43 | namespace ColorCorrect { | ||
44 | class Manager; | 44 | class Manager; | ||
45 | struct GammaRamp; | | |||
46 | } | 45 | } | ||
47 | 46 | | |||
48 | class Output; | 47 | class Output; | ||
49 | class Edge; | 48 | class Edge; | ||
50 | class Compositor; | 49 | class Compositor; | ||
51 | class OverlayWindow; | 50 | class OverlayWindow; | ||
52 | class OpenGLBackend; | 51 | class OpenGLBackend; | ||
53 | class Outline; | 52 | class Outline; | ||
▲ Show 20 Lines • Show All 343 Lines • ▼ Show 20 Line(s) | 70 | public: | |||
397 | bool supportsGammaControl() const { | 396 | bool supportsGammaControl() const { | ||
398 | return m_supportsGammaControl; | 397 | return m_supportsGammaControl; | ||
399 | } | 398 | } | ||
400 | 399 | | |||
401 | ColorCorrect::Manager *colorCorrectManager() { | 400 | ColorCorrect::Manager *colorCorrectManager() { | ||
402 | return m_colorCorrect; | 401 | return m_colorCorrect; | ||
403 | } | 402 | } | ||
404 | 403 | | |||
405 | virtual int gammaRampSize(int screen) const { | | |||
406 | Q_UNUSED(screen); | | |||
407 | return 0; | | |||
408 | } | | |||
409 | virtual bool setGammaRamp(int screen, ColorCorrect::GammaRamp &gamma) { | | |||
410 | Q_UNUSED(screen); | | |||
411 | Q_UNUSED(gamma); | | |||
412 | return false; | | |||
413 | } | | |||
414 | | ||||
415 | /* | 404 | /* | ||
416 | * A string of information to include in kwin debug output | 405 | * A string of information to include in kwin debug output | ||
417 | * It should not be translated. | 406 | * It should not be translated. | ||
418 | * | 407 | * | ||
419 | * The base implementation prints the name. | 408 | * The base implementation prints the name. | ||
420 | * @since 5.12 | 409 | * @since 5.12 | ||
421 | */ | 410 | */ | ||
422 | virtual QString supportInformation() const; | 411 | virtual QString supportInformation() const; | ||
▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines |