This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/109784/

Review request for kwin, Martin Gräßlin and Ralf Jung.
By Thomas Lübking.

Updated March 30, 2013, 5:40 p.m.

Changes

rebase to nano precision (requires Qt 4.8), thus fix conversion mess.
pro: most of the time i render < 0.66 ms =)

Description

summarized

Testing

it's math.
fpsinterval is n*vblankTime so this moves it 1ms past the last assumed tick before the wanted interval spot, so that we don't have to fear to miss it.

Assuming we paint every 3rd frame:

A 1 2 3 4 5 - B 1 2 3 4 5 - C 1 2 3 4 5 - A
                              ^ here (C1)

Diffs

  • kwin/composite.h (ebaf7e7)
  • kwin/composite.cpp (ee885dc)
  • kwin/options.h (f61a66f)
  • kwin/options.cpp (6abd3f0)
  • kwin/scene.h (5d49c40)
  • kwin/scene_opengl.h (409ec3d)
  • kwin/scene_opengl.cpp (3343164)
  • kwin/scene_xrender.h (4a93940)
  • kwin/scene_xrender.cpp (ab90815)

View Diff