mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-21 19:51:33 +00:00
Added performance flags for Quest decives
This commit is contained in:
parent
a1436a2722
commit
5d41a967b7
2 changed files with 9 additions and 4 deletions
|
@ -28,6 +28,11 @@
|
|||
<!-- META QUEST -->
|
||||
<meta-data android:name="com.oculus.supportedDevices" android:value="quest|quest2"/>
|
||||
<meta-data android:name="com.oculus.ossplash" android:value="true"/>
|
||||
<!-- Set Dual Core mode for Quest 2/Pro -->
|
||||
<meta-data android:name="com.oculus.dualcorecpuset" android:value="true" />
|
||||
<!-- Enabling CPU and GPU level trading: -1 = -1 level to gpu, +1 level to cpu -->
|
||||
<!-- CPU needs all the power it can get!! -->
|
||||
<meta-data android:name="com.oculus.trade_cpu_for_gpu_amount" android:value="-1" />
|
||||
|
||||
<!-- PICO XR -->
|
||||
<meta-data android:name="pvr.app.type" android:value="vr" />
|
||||
|
|
|
@ -924,10 +924,10 @@ void ovrApp_HandleSessionStateChanges(ovrApp* app, XrSessionState state) {
|
|||
"xrPerfSettingsSetPerformanceLevelEXT",
|
||||
(PFN_xrVoidFunction * )(&pfnPerfSettingsSetPerformanceLevelEXT)));
|
||||
|
||||
OXR(pfnPerfSettingsSetPerformanceLevelEXT(
|
||||
app->Session, XR_PERF_SETTINGS_DOMAIN_CPU_EXT, cpuPerfLevel));
|
||||
OXR(pfnPerfSettingsSetPerformanceLevelEXT(
|
||||
app->Session, XR_PERF_SETTINGS_DOMAIN_GPU_EXT, gpuPerfLevel));
|
||||
// OXR(pfnPerfSettingsSetPerformanceLevelEXT(
|
||||
// app->Session, XR_PERF_SETTINGS_DOMAIN_CPU_EXT, cpuPerfLevel));
|
||||
// OXR(pfnPerfSettingsSetPerformanceLevelEXT(
|
||||
// app->Session, XR_PERF_SETTINGS_DOMAIN_GPU_EXT, gpuPerfLevel));
|
||||
|
||||
if (strstr(gAppState.OpenXRHMD, "meta") != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue