Changeset View
Changeset View
Standalone View
Standalone View
platform.cpp
Show First 20 Lines • Show All 523 Lines • ▼ Show 20 Line(s) | 523 | { | |||
---|---|---|---|---|---|
524 | if (Compositor::compositing()) { | 524 | if (Compositor::compositing()) { | ||
525 | return new CompositedOutlineVisual(outline); | 525 | return new CompositedOutlineVisual(outline); | ||
526 | } | 526 | } | ||
527 | return nullptr; | 527 | return nullptr; | ||
528 | } | 528 | } | ||
529 | 529 | | |||
530 | Decoration::Renderer *Platform::createDecorationRenderer(Decoration::DecoratedClientImpl *client) | 530 | Decoration::Renderer *Platform::createDecorationRenderer(Decoration::DecoratedClientImpl *client) | ||
531 | { | 531 | { | ||
532 | if (Compositor::self()->hasScene()) { | 532 | if (Compositor::self()->scene()) { | ||
533 | return Compositor::self()->scene()->createDecorationRenderer(client); | 533 | return Compositor::self()->scene()->createDecorationRenderer(client); | ||
534 | } | 534 | } | ||
535 | return nullptr; | 535 | return nullptr; | ||
536 | } | 536 | } | ||
537 | 537 | | |||
538 | void Platform::invertScreen() | 538 | void Platform::invertScreen() | ||
539 | { | 539 | { | ||
540 | if (effects) { | 540 | if (effects) { | ||
Show All 18 Lines |