MCPcopy Create free account
hub / github.com/KDE/kwin / unloadAllEffects

Method unloadAllEffects

src/effect/effecthandler.cpp:314–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314void EffectsHandler::unloadAllEffects()
315{
316 m_activeEffects.clear();
317 effect_order.clear();
318 m_effectLoader->clear();
319
320 const auto loaded = std::move(loaded_effects);
321 for (const EffectPair &pair : loaded) {
322 destroyEffect(pair.second);
323 }
324
325 effectsChanged();
326}
327
328void EffectsHandler::setupWindowConnections(Window *window)
329{

Callers 10

cleanupMethod · 0.80
initTestCaseMethod · 0.80
cleanupMethod · 0.80
cleanupMethod · 0.80
cleanupMethod · 0.80
cleanupMethod · 0.80
cleanupMethod · 0.80
cleanupMethod · 0.80
~ApplicationWaylandMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by 8

initTestCaseMethod · 0.64
cleanupMethod · 0.64
cleanupMethod · 0.64
cleanupMethod · 0.64
cleanupMethod · 0.64
cleanupMethod · 0.64
cleanupMethod · 0.64