Page 1 of 1

Blitting the Mouse Pointer on a GPU

Posted: Wed May 11, 2016 8:26 pm
by JonAbbott
Games that have a low refresh rate result in mouse pointer movement that isn't particularly smooth. Two games that highlight this issue are The Dungeon and Minotaur.

Possible solutions:
  1. Blit even if the frame isn't dirty at VSync
  2. Store the words being overlayed in a dedicated screen buffer, so they can be written back to the display prior to reblitting the pointer. The pointer would then be blitted to the displayed frame only, at true VSync, having been unblitted first if a frameswap hasn't occurred in the meantime.