Menu

#2547 SDL: Jerky cursor movement

closed-fixed
Graphics (902)
5
2006-05-12
2006-03-23
No

Since the backend no longer is responsible for
redrawing the cursor whenever it moves, cursor movement
has become noticeable jerky in some cases.

Some engines call updateScreen() often enough that I
don't notice any difference. In some, it's barely
noticeable. The one where it's really noticeable is the
SCUMM engine.

Discussion

  • Torbjörn Andersson

    • assigned_to: nobody --> fingolfin
     
  • Max Horn

    Max Horn - 2006-04-03
    • summary: Jerky cursor movement --> SDL: Jerky cursor movement
     
  • Torbjörn Andersson

    Logged In: YES
    user_id=577918

    Another example is the menu bar at the top of the screen in
    Lure of the Temptress. Currently, it seems to only call
    updateScreen() when the state of a menu changes, so if you
    pull down one menu, and then move the mouse, the cursor will
    remain frozen, until all of a sudden it jumps to the next
    menu or menu item.

     
  • Torbjörn Andersson

    Logged In: YES
    user_id=577918

    The jury is still out on which is the proper solution, but I
    have added extra updateScreen() calls in some engines as a
    temporary solution, at least.

    Engines I have modified: lure, queen, SCUMM,
    sword1
    Engines which didn't need modification: cine, gob, kyra,
    SAGA, sword2
    Engines which may need modification: simon, sky

    Both simon and sky are fairly smooth already, so I've taken
    care of the worst offenders.

     
  • Max Horn

    Max Horn - 2006-05-12
    • assigned_to: fingolfin --> eriktorbjorn
     
  • Max Horn

    Max Horn - 2006-05-12

    Logged In: YES
    user_id=12935

    Well, if this works to your satisfaction now, feel free to close this item :-)

     
  • Torbjörn Andersson

    • status: open --> closed-fixed
     
  • Torbjörn Andersson

    Logged In: YES
    user_id=577918

    Thanks for reminding me. Since Kirben fixed the Simon engine
    (most noticeably in The Feeble Files), everything looks
    smooth to me.