zakky
1
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
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?
zakky
3
Gordon,
I am using Linux on TI's AM3517 EVM (by LOGIC).
Demo is "Vase" of SDK.
Regards,
Zakky