--===============5524803230067336263== Content-Type: multipart/alternative; boundary="===============2341913337429749537==" --===============2341913337429749537== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/109784/ ----------------------------------------------------------- (Updated March 30, 2013, 5:40 p.m.) Review request for kwin, Martin Gräßlin and Ralf Jung. 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 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 Diff: http://git.reviewboard.kde.org/r/109784/diff/ 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) Thanks, Thomas Lübking --===============2341913337429749537== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit
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

--===============2341913337429749537==-- --===============5524803230067336263== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kwin mailing list kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin --===============5524803230067336263==--