#2815: Qt's swapinterval method for x11 is no suitable for warzone
-------------------------------+------------------------------------
  Reporter:  Safety0ff         |             Owner:
      Type:  bug               |            Status:  new
  Priority:  major             |         Milestone:  3.0
 Component:  Engine: Graphics  |           Version:  git/master
  Keywords:                    |  Operating System:  GNU/Linux 32bit
Blocked By:                    |          Blocking:
-------------------------------+------------------------------------
 Qt's swapinterval method which used glXWaitVideoSyncSGI and
 glXGetVideoSyncSGI is not suitable for warzone.

 See: http://dri.freedesktop.org/wiki/CompositeSwap

 !'' Depending on the application, it may be appropriate to throttle your
 rendering to a factor of the refresh rate (using SGI_swap_control or
 OML_sync_control) if you can't keep up with it; this avoids a variable
 frame rate which can be visually distracting.
 !''

 I've attached a hack that uses SGI_swap_control instead.

 Note: It doesn't actually check the setting because of the organization of
 the header ( indirectly including X11 anywhere causes major pollution,
 this especially doesn't mix well with qt).

-- 
Ticket URL: <http://developer.wz2100.net/ticket/2815>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to