Qualcomm© Snapdragon™ VR SDK  3.0.2
Configuration
Name type default description
gEyeBufferWidth int 1024 Value returned as recommended eye buffer width in sxrDeviceInfo
gEyeBufferHeight int 1024 Value returned as recommended eye buffer height in sxrDeviceInfo
gEyeBufferFovX float 90.0f Value returned as recommended FOV X in sxrDeviceInfo
gEyeBufferFovY float 90.0f Value returned as recommended FOV Y in sxrDeviceInfo
gFrustum_Convergence float 0.0f Value returned as recommended eye convergence in sxrDeviceInfo
gFrustum_Pitch float 0.0f Value returned as recommended eye pitch in sxrDeviceInfo
gLeftFrustum_Near float 0.0508 Value returned as recommended view frustum size in sxrDeviceInfo
gLeftFrustum_Far float 100.0 Value returned as recommended view frustum size in sxrDeviceInfo
gLeftFrustum_Left float -0.031 Value returned as recommended view frustum size in sxrDeviceInfo
gLeftFrustum_Right float 0.031 Value returned as recommended view frustum size in sxrDeviceInfo
gLeftFrustum_Top float 0.031 Value returned as recommended view frustum size in sxrDeviceInfo
gLeftFrustum_Bottom float -0.031 Value returned as recommended view frustum size in sxrDeviceInfo
gRightFrustum_Near float 0.0508 Value returned as recommended view frustum size in sxrDeviceInfo
gRightFrustum_Far float 100.0 Value returned as recommended view frustum size in sxrDeviceInfo
gRightFrustum_Left float -0.031 Value returned as recommended view frustum size in sxrDeviceInfo
gRightFrustum_Right float 0.031 Value returned as recommended view frustum size in sxrDeviceInfo
gRightFrustum_Top float 0.031 Value returned as recommended view frustum size in sxrDeviceInfo
gRightFrustum_Bottom float -0.031 Value returned as recommended view frustum size in sxrDeviceInfo
gLowFoveationArea float 0.0f Value returned as recommended low foveation area in sxrDeviceInfo
gLowFoveationGainX float 2.0f Value returned as recommended low foveation gain x in sxrDeviceInfo
gLowFoveationGainY float 2.0f Value returned as recommended low foveation gain y in sxrDeviceInfo
gLowFoveationMinimum float 0.125f Value returned as recommended low foveation minimum in sxrDeviceInfo
gMedFoveationArea float 1.0f Value returned as recommended med foveation area in sxrDeviceInfo
gMedFoveationGainX float 3.0f Value returned as recommended med foveation gain x in sxrDeviceInfo
gMedFoveationGainY float 3.0f Value returned as recommended med foveation gain y in sxrDeviceInfo
gMedFoveationMinimum float 0.125f Value returned as recommended med foveation minimum in sxrDeviceInfo
gHighFoveationArea float 2.0f Value returned as recommended high foveation area in sxrDeviceInfo
gHighFoveationGainX float 4.0f Value returned as recommended high foveation gain x in sxrDeviceInfo
gHighFoveationGainY float 4.0f Value returned as recommended high foveation gain y in sxrDeviceInfo
gHighFoveationMinimum float 0.125f Value returned as recommended high foveation minimum in sxrDeviceInfo
gCalibration_X_0 float 0.00505392f
gCalibration_X_1 float -0.926172f
gCalibration_X_2 float -0.377068f
gCalibration_X_3 float -0.00667208f
gCalibration_Y_0 float -0.903837f
gCalibration_Y_1 float -0.165562f
gCalibration_Y_2 float 0.394548f
gCalibration_Y_3 float 0.0630108f
gCalibration_Z_0 float -0.427847f
gCalibration_Z_1 float 0.338814f
gCalibration_Z_2 float -0.837945f
gCalibration_Z_3 float -0.0338611f
gPrincipalPoint_0 float 331.91989f
gPrincipalPoint_1 float 241.84999f
gFocalLength_0 float 268.08765f
gFocalLength_1 float 268.08765f
gRadialDistortion_0 float 0.084730856f
gRadialDistortion_1 float -0.058135655f
gRadialDistortion_2 float 0.23780872f
gRadialDistortion_3 float -0.12837055f
gRadialDistortion_4 float 0.0f
gRadialDistortion_5 float 0.0f
gRadialDistortion_6 float 0.0f
gRadialDistortion_7 float 0.0f
gEnableTimeWarp bool true Override to disable TimeWarp
gDisableReprojection bool false Override to disable reprojection
gDisablePredictedTime bool false Forces sxrGetPredictedDisplayTime to return 0.0
gRenderThreadCore int 3 Core id to set render thread affinity for (-1 disables affinity), ignored if the QVR Perf module is active.
gEnableRenderThreadFifo bool false Enable/disable setting SCHED_FIFO scheduling policy on the render thread thread, ignored if the QVR Perf module is active.
gForceMinVsync int 0 Override for sxrFrameParams minVsync option (0:override disabled, 1 or 2 forced value)
gUseVSyncCallback bool false Override for using the vsync callback, if set to false then check gUseLinePtr
gUseLinePtr bool true Override for using the linePtr interrupt, if set to false Choreographer will be used instead
gTimeToHalfExposure float 8.33f Time (milliseconds) to get to Half Exposure on the display. This usually T/2, but this property can be used to adjust for OLED vs LCD, getting to 3T/4, additional display delay time, etc.
gTimeToMidEyeWarp float 4.16f Time (milliseconds) between warping each eye.
gHeuristicPredictedTime bool false Whether to use a heuristic predicted time
gNumHeuristicEntries int 25 How many entries to average to get heuristic predicted time
gHeuristicOffset float 0.0 Offset added to the heuristic predicted time
gUseQvrPerfModule bool true Enable/disable the QVR Performance module. If active all thread affinities, priorities and HW clocks will be based on the QVR perf module configuration rather than the SDK configuration
gForceCpuLevel int -1 Override to force CPU performance level (-1: app defined, 0:system defined/off, 1/2/3 for min,medium,max)
gCpuLvl1Min int 30 Lower CPU frequency (percentage) bound for min performance level, ignored if the QVR Perf module is active.
gCpuLvl1Max int 50 Upper CPU frequency (percentage) bound for min performance level, ignored if the QVR Perf module is active.
gCpuLvl2Min int 51 Lower CPU frequency (percentage) bound for medium performance level, ignored if the QVR Perf module is active.
gCpuLvl2Max int 80 Upper CPU frequency (percentage) bound for medium performance level, ignored if the QVR Perf module is active.
gCpuLvl3Min int 81 Lower CPU frequency (percentage) bound for max performance level, ignored if the QVR Perf module is active.
gCpuLvl3Max int 100 Upper CPU frequency (percentage) bound for max performance level , ignored if the QVR Perf module is active.
gForceGpuLevel int -1 Override to force GPU performance level (-1: app defined, 0:system defined/off, 1/2/3 for min,medium,max)
gGpuLvl1Min int 30 Lower GPU frequency (percentage) bound for min performance level, ignored if the QVR Perf module is active.
gGpuLvl1Max int 50 Upper GPU frequency (percentage) bound for min performance level, ignored if the QVR Perf module is active.
gGpuLvl2Min int 51 Lower GPU frequency (percentage) bound for medium performance level, ignored if the QVR Perf module is active.
gGpuLvl2Max int 80 Upper GPU frequency (percentage) bound for medium performance level, ignored if the QVR Perf module is active.
gGpuLvl3Min int 81 Lower GPU frequency (percentage) bound for max performance level, ignored if the QVR Perf module is active.
gGpuLvl3Max int 100 Upper GPU frequency (percentage) bound for max performance level, ignored if the QVR Perf module is active.
gForceTrackingMode int 0 Force a specific tracking mode 1 = rotational 3 = rotational & positional
gUseMagneticRotationFlag bool true If using roational data only, use version that is magnetically corrected
gLogLinePtrDelay float 0.0 Log line ptr delays longer greater than this value (0.0 = disabled)
gLogSubmitFps bool false Enables output of submit FPS to LogCat
gLogPoseVelocity bool false Log out the tracking velocity
gMaxAngVel float 450.0f Detected angular velocity larger than this value will be considered an error in the tracking system (degrees / sec)
gMaxLinearVel float 6.0f Detected linear/translational velocity larger than this value will be considered an error in the tracking system (meters / sec)
gLogSubmitFrame bool false Log svrSubmitFrame() parameters
gEnableDebugServer bool false Enables a very basic json-rpc server for interacting with vr while running
gDisableFrameSubmit bool false Debug flag that will prevent the eye buffer render thread from submitted frames to time warp
gControllerService char* " "
gControllerRingBufferSize int 80
gDebugServerPort int 8080 Port for the debug server to listen for incoming requests on
gLogEvents bool false Enables logcat logging of events
gSensorOrientationCorrectX float 0.0f Adjustment if sensors are physically rotated (degrees)
gSensorOrientationCorrectY float 0.0f Adjustment if sensors are physically rotated (degrees)
gSensorOrientationCorrectZ float 0.0f Adjustment if sensors are physically rotated (degrees)
gSensorHomePosition int 0 Base device configuration. 0 = Landscape Left; 1 = Landscape Right
gSensorHeadOffsetX float 0.0f Adjustment for device physical distance from head (meters)
gSensorHeadOffsetY float 0.0f Adjustment for device physical distance from head (meters)
gSensorHeadOffsetZ float 0.0762 Adjustment for device physical distance from head (meters)
gMinPoseQuality float 0.7 Minimum pose quality (In range [0.0, 1.0]) allowed
gIMUSensorPoseDelay float 0.0 Base IMU delay (milliseconds). How old is pose before it is recorded?
gMaxPredictedTime float 75.0 Max allowable predicted pose time (milliseconds)
gLogMaxPredictedTime bool true Enable/disable logging when max predicted time is enforced
gLogRawSensorData bool false Enable/disable logging of sensor values directly from the service
gUseFixedRotation bool false Enable/disable setting of sensor rotation value directly
gFixedRotationQuatX float 0.0f
gFixedRotationQuatY float 0.0f
gFixedRotationQuatZ float 0.0f
gFixedRotationQuatW float 1.0f
gFixedRotationSpeedX float 0.0f
gFixedRotationSpeedY float 0.0f
gFixedRotationSpeedZ float 0.0f
gUseFixedPosition bool false Enable/disable setting of sensor position value directly
gFixedPositionX float 0.0f
gFixedPositionY float 0.0f
gFixedPositionZ float 0.0f
gFixedPositionEndX float 0.0f
gFixedPositionEndY float 0.0f
gFixedPositionEndZ float 0.0f
gFixedPositionSpeed float 0.0f
gEnableMotionVectors bool false Enables motion vector support
gForceAppEnableMotionVectors bool false Force motion vectors for all applications. Otherwise up to application
gEnableYuvDecode bool true For Power: Whether or not to actually send data to motion engine
gUseMotionVectors bool true For Power: Whether or not to use motion data
gWarpMotionVectors bool true Warp current motion engine input to remove head motion
gWarpMotionScale float 1.0f Scale of motion vector warping
gLogMotionVectors bool false Enables logging of motion vector activities
gLogThreadState bool false Subject to "gLogMotionVectors": Logs thread activities
gMotionVectorScale float 0.5f Scale of eye buffer size to motion vector input
gMotionInterpolationFactor float 0.5f Scale of motion vector data applied to interpolated frames (Assume half framerate)
gSmoothMotionVectors bool true Motion data is average of surrounding samples
gSmoothMotionVectorsWithGPU bool true Motion data smoothing is done on the GPU
gRenderMotionVectors bool false Enables display of motion vectors as one of the eye buffers
gRenderMotionInput bool false Enables display of motion input. Current/Previous are the Left/Right eyes (for checking warp). Subject to gRenderMotionVectors
gGenerateBothEyes bool false Generate separate motion data for each eye. Otherwise, same data is used for both
gDiscardLargeMotionVectors bool true Anything over max is set to zero
gClampLargeMotionVectors bool false Anything over max is clamped to max
gMaxMotionVectorX uint32_t 15 Max Pixels based on motion engine input
gMaxMotionVectorY uint32_t 15 Max Pixels based on motion engine input
gDisableLensCorrection bool false Override to disable any lens correction during time warp
gDirectModeWarp bool true Override to enable/disable "direct" non-binning mode for time warp rendering
gSingleBufferWindow bool true Override to enable/disable use of single buffer surface for time warp
gTimeWarpThreadCore int 2 Core affinity for time warp thread (-1=system defined), ignored if the QVR Perf module is active.
gTimeWarpClearBuffer bool false Enable/disable clearing the time warp surface before rendering
gBusyWait bool false Enable/disable "busy" wait between eyes (on some builds use of nanosleep function can oversleep by as much as 10ms if FIFO isn't set on the sleeping thread)
gEnableWarpThreadFifo bool true Enable/disable setting SCHED_FIFO scheduling policy on the warp thread (must be true if gBusyWait is false to avoid tearing), ignored if the QVR Perf module is active.
gRecenterFrames int 0 Number of frames to disable reprojection after sensors are recentered
gSensorInitializeFrames int 0 Number of frames to disable display after sensors are started
gTimeWarpMinLoopTime int 0 For testing: minimum time (milliseconds) for a timewarp loop. Can be used to simulate timewarp not able to keep up with render. Set to 0 to disable test
gTimeWarpWaitBias float 0.0f Bias applied to the time we wait to kick off warping for each eye
gTimeWarpDelayBetweenEyes bool true Second eye is rendered at apporpriate vsync time. Otherwise, both eyes rendered back to back
gTimeWarpClearColorR float 0.0f Fill color for TimeWarp clear (if gTimeWarpClearBuffer enabled)
gTimeWarpClearColorG float 0.0f Fill color for TimeWarp clear (if gTimeWarpClearBuffer enabled)
gTimeWarpClearColorB float 0.0f Fill color for TimeWarp clear (if gTimeWarpClearBuffer enabled)
gTimeWarpClearColorA float 1.0f Fill color for TimeWarp clear (if gTimeWarpClearBuffer enabled)
gSupportColorPlaneWarp bool false Some displays support different color planes.
gColorPlaneTimeOffsetR float 0.0f When warping, each color plane has a different time (milliseconds) to be warped
gColorPlaneTimeOffsetG float 0.0f When warping, each color plane has a different time (milliseconds) to be warped
gColorPlaneTimeOffsetB float 0.0f When warping, each color plane has a different time (milliseconds) to be warped
gTimeWarpEnabledEyeMask int 3 sxrEyeMask Bit Field: 1 = Left; 2 = Right; 3 = Both
gForceColorSpace int -1.0f Force warp colorspace -1 = app specified, 0 = linear, 1 = sRGB
gApplyDisplaySkew bool false Apply a skew during warp to counteract the impact of display rates
gApplyDisplaySquash bool false Apply a skew during warp to counteract the impact of display rates
gSkewScaleFactor float 1.0f Scale factor to apply to the display skewing
gSquashScaleFactor float 1.0f Scale factor to apply to the display squash
gCompositeRadius float 0.25f Any layer quad outside this range will be composited
gWarpMeshType int 0 Warp mesh type: 0 = Columns (Left To Right); 1 = Columns (Right To Left); 2 = Rows (Top To Bottom); 3 = Rows (Bottom To Top)
gWarpMeshRows int 50 Number of rows in the warp mesh grid
gWarpMeshCols int 50 Number of columns in the warp mesh grid
gLayerMeshRows int 8 Number of rows in the layer mesh grid
gLayerMeshCols int 8 Number of columns in the layer mesh grid
gWarpEqrMeshRadius float 2.0 Radius of warp mesh used for EquiRectangular display (Affects curvature)
gWarpEqrMeshScale float 0.9 Amount of screen covered by the EquiRectangular warp mesh
gWarpMeshMinX float -1.0f Screen space coordinate of minimum X-Value
gWarpMeshMaxX float 1.0f Screen space coordinate of maximum X-Value
gWarpMeshMinY float -1.0f Screen space coordinate of minimum Y-Value
gWarpMeshMaxY float 1.0f Screen space coordinate of maximum Y-Value
gMeshOffsetLeftX float 0.0f Screen space adjustment for left mesh to center under lens
gMeshOffsetLeftY float 0.0f Screen space adjustment for left mesh to center under lens
gMeshOffsetRightX float 0.0f Screen space adjustment for right mesh to center under lens
gMeshOffsetRightY float 0.0f Screen space adjustment for right mesh to center under lens
gMeshAspectRatio float 1.0 0.0 = Use Screen Size; X.X = Force aspect ratio
gMeshVignette bool false Enable/Disable vignette feature on the warp mesh
gVignetteRadius float 0.7f Start radius of vignette feature. Completes at gMeshDiscardUV applied to lens polynomial
gClampBorderEnabled bool true Enable/disable clamp to border color on eye buffers
gClampBorderColorR float 0.0f Fill color for clamp to border (if enabled)
gClampBorderColorG float 0.0f Fill color for clamp to border (if enabled)
gClampBorderColorB float 0.0f Fill color for clamp to border (if enabled)
gClampBorderColorA float 1.0f Fill color for clamp to border (if enabled)
gClampBorderOverlayEnabled bool true Enable/disable clamp to border color on overlay buffers
gClampBorderOverlayColorR float 0.0f Fill color for clamp to border (if enabled)
gClampBorderOverlayColorG float 0.0f Fill color for clamp to border (if enabled)
gClampBorderOverlayColorB float 0.0f Fill color for clamp to border (if enabled)
gClampBorderOverlayColorA float 1.0f Fill color for clamp to border (if enabled)
gStencilMeshEnabled bool false Enable/disable stencil mesh optimization on eye buffers
gStencilMeshRadius float 0.95f Radius of stencil mesh used for eye buffers
gStencilMeshColorR float 0.0f Fill color for stencil mesh (if enabled)
gStencilMeshColorG float 0.0f Fill color for stencil mesh (if enabled)
gStencilMeshColorB float 0.0f Fill color for stencil mesh (if enabled)
gStencilMeshColorA float 1.0f Fill color for stencil mesh (if enabled)
gEnableBoundarySystem bool false Enable/disable Boundary display
gForceDisplayBoundarySystem bool false Forces the display of the Boundary display
gLogBoundarySystem bool false Enable/disable loging of Boundary system
gEnableBoundaryMesh bool false Enable/disable Boundary feature using mesh
gBoundaryWarpMeshRows int 2 Number of rows in the Boundary mesh
gBoundaryWarpMeshCols int 2 Number of cols in the Boundary mesh
gBoundaryZoneMinX float -4.0 Boundary zone size (Real world coordinates in meters)
gBoundaryZoneMaxX float 4.0 Boundary zone size (Real world coordinates in meters)
gBoundaryZoneMinY float -4.0 Boundary zone size (Real world coordinates in meters)
gBoundaryZoneMaxY float 4.0 Boundary zone size (Real world coordinates in meters)
gBoundaryZoneMinZ float -4.0 Boundary zone size (Real world coordinates in meters)
gBoundaryZoneMaxZ float 4.0 Boundary zone size (Real world coordinates in meters)
gBoundaryUVScale float 10.0 Boundary zone texture repeat scale (grid spacing)
gBoundaryGridWidth float 0.1 Boundary zone grid line width (fractional part of result of gBoundaryUVScale)
gBoundaryVisabilityRadius float 0.5 Distance from Boundary zone boundaries when the Boundary mesh starts to be visible
gBoundaryVisabilityScale float 1.5 Scale for how quickly the Boundary mesh fades in to full opacity
gBoundaryMeshColorR float 1.0 Boundary mesh color
gBoundaryMeshColorG float 1.0 Boundary mesh color
gBoundaryMeshColorB float 1.0 Boundary mesh color
gBoundaryMeshColorA float 1.0 Boundary mesh color
gLensOffsetX float 0.0f Horizontal lens offset
gLensOffsetY float 0.0f Vertical lens offset
gLensInverse bool false
gLensPolyK0 float 1.0f
gLensPolyK1 float 0.0f
gLensPolyK2 float 0.22f
gLensPolyK3 float 0.0f
gLensPolyK4 float 0.24f
gLensPolyK5 float 0.0f
gLensPolyK6 float 0.0f
gChromaticPolyK0_R float 0.994f
gChromaticPolyK1_R float 0.0f
gChromaticPolyK2_R float 0.0f
gChromaticPolyK3_R float 0.0f
gChromaticPolyK4_R float 0.0f
gChromaticPolyK5_R float 0.0f
gChromaticPolyK6_R float 0.0f
gChromaticPolyK0_G float 1.003f
gChromaticPolyK1_G float 0.0f
gChromaticPolyK2_G float 0.0f
gChromaticPolyK3_G float 0.0f
gChromaticPolyK4_G float 0.0f
gChromaticPolyK5_G float 0.0f
gChromaticPolyK6_G float 0.0f
gChromaticPolyK0_B float 1.014f
gChromaticPolyK1_B float 0.0f
gChromaticPolyK2_B float 0.0f
gChromaticPolyK3_B float 0.0f
gChromaticPolyK4_B float 0.0f
gChromaticPolyK5_B float 0.0f
gChromaticPolyK6_B float 0.0f
gChromaticPixelBorder float 0.0f
gMeshDiscardUV float 1.0f After lens polynomial applied, anything greater than this value will be discarded.
gLogEyeOverSleep bool false Enable/disable checking and logging of oversleep during eye buffer rendering
gLogFrameDoubles bool false Enables output of LogCat messages when TimeWarp frames are reused
gLogMeshCreation bool false Enables output of LogCat messages when meshes are created
gLogVSyncData bool false Enables output of LogCat messages when VSync data is updated
gLogPrediction bool false
gLogDroppedFrames bool false If next frame warped is not one more than last frame (Application may break this if it assigns wrong frameIndx)
gLogShaderUniforms bool false
gLogEyeRender bool false
gMotionToPhotonC float 10.0f Scale factor driving intensity of color from angular velocity
gMotionToPhotonAccThreshold float 0.999998f Minimum threshold for motion to be considered significant enough to light the display