Samsung / GearVRf

The GearVR framework(GearVRf) is an Open Source VR rendering library for application development on VR-supported Android devices.
http://www.gearvrf.org
Apache License 2.0
407 stars 217 forks source link

framework: add a debug property to force enable multiview #1898

Closed liaxim closed 6 years ago

liaxim commented 6 years ago

adb shell setprop debug.gearvrf.multiview 1 to force multiview no matter what the apps wants. Anything other than 1 means the framework defaults to false and lets the app choose.

GearVRf-DCO-1.0-Signed-off-by: Mihail Marinov m.marinov@samsung.com

liaxim commented 6 years ago

Planning to merge on Friday.

NolaDonato commented 6 years ago

The stencil buffer doesn't work with multiview.

liaxim commented 6 years ago

That is ok. The shaders need to be authored properly too.

The purpose of this is whenever you want to test some apps with multiview enabled, you can do it without recompiling and reinstalling. It is meant for us.

liaxim commented 6 years ago

@NolaDonato Let me know if my explanation doesn't make sense and I should not merge this.

NolaDonato commented 6 years ago

Go ahead and merge. It will be useful.