Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/opengl/scene_opengl.cpp
Show First 20 Lines • Show All 631 Lines • ▼ Show 20 Line(s) | 592 | { | |||
---|---|---|---|---|---|
632 | m_cursorTexture->render(QRegion(cursorRect), cursorRect); | 632 | m_cursorTexture->render(QRegion(cursorRect), cursorRect); | ||
633 | m_cursorTexture->unbind(); | 633 | m_cursorTexture->unbind(); | ||
634 | 634 | | |||
635 | kwinApp()->platform()->markCursorAsRendered(); | 635 | kwinApp()->platform()->markCursorAsRendered(); | ||
636 | 636 | | |||
637 | glDisable(GL_BLEND); | 637 | glDisable(GL_BLEND); | ||
638 | } | 638 | } | ||
639 | 639 | | |||
640 | qint64 SceneOpenGL::paint(QRegion damage, ToplevelList toplevels) | 640 | qint64 SceneOpenGL::paint(QRegion damage, QList<Toplevel *> toplevels) | ||
641 | { | 641 | { | ||
642 | // actually paint the frame, flushed with the NEXT frame | 642 | // actually paint the frame, flushed with the NEXT frame | ||
643 | createStackingOrder(toplevels); | 643 | createStackingOrder(toplevels); | ||
644 | 644 | | |||
645 | // After this call, updateRegion will contain the damaged region in the | 645 | // After this call, updateRegion will contain the damaged region in the | ||
646 | // back buffer. This is the region that needs to be posted to repair | 646 | // back buffer. This is the region that needs to be posted to repair | ||
647 | // the front buffer. It doesn't include the additional damage returned | 647 | // the front buffer. It doesn't include the additional damage returned | ||
648 | // by prepareRenderingFrame(). validRegion is the region that has been | 648 | // by prepareRenderingFrame(). validRegion is the region that has been | ||
▲ Show 20 Lines • Show All 1983 Lines • Show Last 20 Lines |