Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/opengl/lanczosfilter.cpp
Show All 14 Lines | |||||
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | GNU General Public License for more details. | 16 | GNU General Public License for more details. | ||
17 | 17 | | |||
18 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU General Public License | ||
19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
20 | *********************************************************************/ | 20 | *********************************************************************/ | ||
21 | 21 | | |||
22 | #include "lanczosfilter.h" | 22 | #include "lanczosfilter.h" | ||
23 | #include "client.h" | 23 | #include "x11client.h" | ||
24 | #include "deleted.h" | 24 | #include "deleted.h" | ||
25 | #include "effects.h" | 25 | #include "effects.h" | ||
26 | #include "screens.h" | 26 | #include "screens.h" | ||
27 | #include "unmanaged.h" | 27 | #include "unmanaged.h" | ||
28 | #include "options.h" | 28 | #include "options.h" | ||
29 | #include "workspace.h" | 29 | #include "workspace.h" | ||
30 | 30 | | |||
31 | #include <logging.h> | 31 | #include <logging.h> | ||
▲ Show 20 Lines • Show All 357 Lines • ▼ Show 20 Line(s) | |||||
389 | { | 389 | { | ||
390 | if (event->timerId() == m_timer.timerId()) { | 390 | if (event->timerId() == m_timer.timerId()) { | ||
391 | m_timer.stop(); | 391 | m_timer.stop(); | ||
392 | 392 | | |||
393 | delete m_offscreenTarget; | 393 | delete m_offscreenTarget; | ||
394 | delete m_offscreenTex; | 394 | delete m_offscreenTex; | ||
395 | m_offscreenTarget = nullptr; | 395 | m_offscreenTarget = nullptr; | ||
396 | m_offscreenTex = nullptr; | 396 | m_offscreenTex = nullptr; | ||
397 | foreach (Client *c, Workspace::self()->clientList()) { | 397 | foreach (X11Client *c, Workspace::self()->clientList()) { | ||
398 | discardCacheTexture(c->effectWindow()); | 398 | discardCacheTexture(c->effectWindow()); | ||
399 | } | 399 | } | ||
400 | foreach (Client *c, Workspace::self()->desktopList()) { | 400 | foreach (X11Client *c, Workspace::self()->desktopList()) { | ||
401 | discardCacheTexture(c->effectWindow()); | 401 | discardCacheTexture(c->effectWindow()); | ||
402 | } | 402 | } | ||
403 | foreach (Unmanaged *u, Workspace::self()->unmanagedList()) { | 403 | foreach (Unmanaged *u, Workspace::self()->unmanagedList()) { | ||
404 | discardCacheTexture(u->effectWindow()); | 404 | discardCacheTexture(u->effectWindow()); | ||
405 | } | 405 | } | ||
406 | foreach (Deleted *d, Workspace::self()->deletedList()) { | 406 | foreach (Deleted *d, Workspace::self()->deletedList()) { | ||
407 | discardCacheTexture(d->effectWindow()); | 407 | discardCacheTexture(d->effectWindow()); | ||
408 | } | 408 | } | ||
Show All 20 Lines |