Forum Discussion
phil_lira
11 years agoHonored Guest
Is there a way to force double buffering?
I'm trying to debug my VR game with the Mali Graphics Debugger (MGD). Unfotunately MGD only looks for eglSwapBuffers as a synchronization primitive and since the VR Lib only uses the front buffer I can't capture a frame.
I already contacted the ARM forums but until the provide me a fix I'd like to know if there's something on the Unity Integration end I could do like forcing double buffering. Since I'm only interested in debugging in this case I'm not worried about the latency.
I'm using Mobile SDK 0.4.2.
I already contacted the ARM forums but until the provide me a fix I'd like to know if there's something on the Unity Integration end I could do like forcing double buffering. Since I'm only interested in debugging in this case I'm not worried about the latency.
I'm using Mobile SDK 0.4.2.
1 Reply
Replies have been turned off for this discussion
- cyberealityGrand ChampionThere is a local preference ("frontbuffer") that you can disable. For example:
adb shell "echo frontbuffer 0 > /sdcard/.oculusprefs"
However, for this to be checked, you will need to modify and compile the plugin.
You'll have to find this line in VrApi/LocalPreferences.cpp and change:#define ENABLE_LOCAL_PREFS
Hope that helps.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 4 months ago
- 4 months ago
- 3 months ago