Blitting the Mouse Pointer on a GPU

Discuss VIDC, translation to VIDC20 and emulation of VIDC
Post Reply
JonAbbott
Posts: 2938
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Blitting the Mouse Pointer on a GPU

Post 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.
Post Reply