Oculus Mobile SDK 1.12.0
The Mobile SDK includes libraries, tools, and resources for native C/C++ development for Oculus Go and Samsung Gear VR. If you work primarily with Unity or Unreal Engine, in most cases it is not necessary to download the Mobile SDK.
For more information, see our Mobile SDK Developer Guide.
This release provides support for the Oculus Go and Samsung Galaxy A8/A8+ (2018) smartphones.
For details on migrating to Mobile SDK 1.12.0 from previous versions, see Mobile SDK Migration Guide.
The following build tool versions have been changed to:
- Android NDK r16b
- Gradle 4.3.1
- Android Plugin for Gradle 3.0.1
- Android SDK Build-Tools 26.0.2
- Added a mechanism to specify the Foveation Level for the Eye-Buffer SwapChain Textures.
- Added Oculus Go Device Types to the API.
- Added Samsung A-series (2018) Device Types to the API.
- Added a new ovrModeFlags flag, VRAPI_MODE_FLAG_CREATE_CONTEXT_NO_ERROR, to support applications which want to create a no-error GL context.
- VRAPI_TEXTURE_SWAPCHAIN_FULL_MIP_CHAIN has been removed. Applications will need to explicitly pass in the number of mipLevels on SwapChain creation.
- Controllers are now affected by the application specified Tracking Transform.
- The SwapChain represented by VRAPI_DEFAULT_TEXTURE_SWAPCHAIN now defaults to white instead of black. This is to support solid color frames of more than just black. The application layer’s ColorScale parameter will determine the solid color used.
- The ovrMobile structure will now always be freed on vrapi_LeaveVrMode.
- Applications are now required to pass through explicit EGL objects (Display, ShareContext, NativeWindow) to vrapi_EnterVrMode, otherwise the call will fail.
- VRAPI_SYS_PROP_BACK_BUTTON_DOUBLETAP_TIME has been removed. If applications implement double-tap logic, they can still detect this by checking if the time is less than the VRAPI_SYS_PROP_BACK_BUTTON_SHORTPRESS_TIME.
- Fixed a bug in VrSamples where incorrect texture target was specified for GL_TEXTURE_BORDER_COLOR when multi-view was enabled.
- Fixed the “ndk-build not found” error in ovrbuild.py script when building solely from Android Studio.
- There are no known issues in this release.