locked
Windows RT touch-animation stutter?

    Question

  • Hi,

    my DirectX C++ app is suffering from heavy performance slowdowns if and only if the touch animation on Windows RT is displayed.

    Since i am doing a fullscreen post-process, normalmapping and other stuff, my first approach was to reduce the load of work.

    Note that the app runs perfectly smooth if i am using a mouse or don't touch the surface. It doesn't matter if i process or even register for any of the touch events.

    The stutter happens whenever i touch the screen and the touch-animation of Windows RT is displayed.

    After that it runs smooth again even if i keep the touch down and swipe around.

    It doesn't matter if i am using a post-process, intermediate render-target or anything like that. The stutter also shows up in minimal application just rendering and rotating a single mesh.


    I noticed that games like Hydro Thunder somehow disabled the touch-animation. Can you tell me how this is done? I can't find any clues.

    Thanks in advance,

    Tim


    • Edited by Tim- Wednesday, March 20, 2013 12:29 PM
    Wednesday, March 20, 2013 12:28 PM

Answers

  • If anybody is dealing with the same kind of problem:

    I got it solved by disabling the visual touch feedback.

    You have to get the PointerVisualizationSettings

    (http://msdn.microsoft.com/de-de/library/windows/apps/windows.ui.input.pointervisualizationsettings.getforcurrentview) for the current view and set the

    ContactFeedbackEnabled

    (http://msdn.microsoft.com/de-de/library/windows/apps/windows.ui.input.pointervisualizationsettings.iscontactfeedbackenabled.aspx) property to false.

    Doing this removed any perfomance drops on touch in my DirectX11 application.


    Sorry for the formatting, msdn won't let me use html-links until my account is verified (whatever that means..)


    • Marked as answer by Tim- Wednesday, March 20, 2013 5:03 PM
    Wednesday, March 20, 2013 3:50 PM

All replies

  • If anybody is dealing with the same kind of problem:

    I got it solved by disabling the visual touch feedback.

    You have to get the PointerVisualizationSettings

    (http://msdn.microsoft.com/de-de/library/windows/apps/windows.ui.input.pointervisualizationsettings.getforcurrentview) for the current view and set the

    ContactFeedbackEnabled

    (http://msdn.microsoft.com/de-de/library/windows/apps/windows.ui.input.pointervisualizationsettings.iscontactfeedbackenabled.aspx) property to false.

    Doing this removed any perfomance drops on touch in my DirectX11 application.


    Sorry for the formatting, msdn won't let me use html-links until my account is verified (whatever that means..)


    • Marked as answer by Tim- Wednesday, March 20, 2013 5:03 PM
    Wednesday, March 20, 2013 3:50 PM
  • Thanks for sharing the solution.

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, March 21, 2013 2:14 AM
    Moderator