scheduleRepaint() and addRepaintFull() do nothing when m_state is not State::On.
Details
Details
- Reviewers
romangg - Group Reviewers
KWin - Commits
- R108:d690d913fb8e: Don't schedule repaint until Compositor is On
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
composite.cpp | ||
---|---|---|
343–344 | Is this useless then? |
Comment Actions
Remove
// This means "start now" - we don't have even a slight idea when the first vsync will occur. m_timeSinceLastVBlank = fpsInterval - (options->vBlankTime() + 1);
composite.cpp | ||
---|---|---|
343–344 | You mean without the timer? performCompositing call in the end just directly presents without timer. |
composite.cpp | ||
---|---|---|
343–344 | No, in general. Hopefully, it'll be over soon. ;-) |