Frame Rate configuration

This topic contains 2 replies, has 2 voices, and was last updated by  zakky 7 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30083

    zakky
    Member

    Hi,

    I have a problem with frame rate configuration.

    In case PVRShell is used, RenderScene is called on each v-sync.

    If PVRShellSet(prefSwapInterval, 2) or eglSwapInterval() is executed,

    the RenderScene is called at a second of v-sync.

    Is this correct?

    I tried with SDK demo program, but it seems not be effective.

    I set the swap interval in InitView()

     

    regards,

    zakky

     

     
    #33803

    Gordon
    Moderator

    By default and where available vsync is disabled when using PVRShell. This is explicitly set by a line such as:

    Code:
    PVRShellSet(prefSwapInterval,0);

    A value of 1 sets normal vsyncing (limited to 60fps, for example), 2 indicates that your app will render every second vsync (limited to 30fps) etc.

    Which platform are you trying this on and with which demo?

    #33804

    zakky
    Member

    Gordon,

    I am using Linux on TI’s AM3517 EVM (by LOGIC).

    Demo is “Vase” of SDK.

     

    Regards,

    Zakky

     
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.