mirror of
https://github.com/DrBeef/Quake2Quest.git
synced 2024-11-10 06:41:53 +00:00
90hz Mode support for Quest 2
This commit is contained in:
parent
b8ffed9a79
commit
3b35b7db5a
5 changed files with 15 additions and 8 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -28,9 +28,9 @@ $RECYCLE.BIN/
|
|||
*.class
|
||||
projects/Android/build/*
|
||||
assets/oculussig*
|
||||
Projects/Android/.externalNativeBuild/ndkBuild/debug/arm64-v8a/android_gradle_build.json
|
||||
Projects/Android/.cxx/*
|
||||
*.json
|
||||
Projects/Android/.externalNativeBuild/ndkBuild/debug/arm64-v8a/ndkBuild_build_command.txt
|
||||
Projects/Android/.gradle/*
|
||||
Projects/Android/.externalNativeBuild/ndkBuild/debug/arm64-v8a/ndkBuild_build_output.txt
|
||||
Projects/Android/.externalNativeBuild/ndkBuild/release/arm64-v8a/ndkBuild_build_command.txt
|
||||
Projects/Android/.externalNativeBuild/ndkBuild/release/armeabi-v7a/ndkBuild_build_output.txt
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.drbeef.quake2quest"
|
||||
android:versionCode="16"
|
||||
android:versionName="1.0.5" android:installLocation="auto" >
|
||||
android:versionCode="17"
|
||||
android:versionName="1.0.6" android:installLocation="auto" >
|
||||
|
||||
<!-- Tell the system this app requires OpenGL ES 3.1. -->
|
||||
<uses-feature android:glEsVersion="0x00030001" android:required="true"/>
|
||||
|
@ -18,6 +18,8 @@
|
|||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||
<application android:allowBackup="false" android:icon="@drawable/ic_qquest" android:label="@string/quake2quest">
|
||||
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
|
||||
<meta-data android:name="com.oculus.supportedDevices" android:value="quest|quest2"/>
|
||||
|
||||
<!-- The activity is the built-in NativeActivity framework class. -->
|
||||
<!-- launchMode is set to singleTask because there should never be multiple copies of the app running. -->
|
||||
<!-- Theme.Black.NoTitleBar.Fullscreen gives solid black instead of a (bad stereoscopic) gradient on app transition. -->
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#Sat Jul 27 06:47:04 BST 2019
|
||||
#Thu Dec 10 20:38:41 GMT 2020
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
|
||||
|
|
|
@ -1432,6 +1432,11 @@ void * AppThreadFunction( void * parm )
|
|||
|
||||
chdir("/sdcard");
|
||||
|
||||
//Set 90hz mode for Quest 2
|
||||
if (vrapi_GetSystemPropertyInt(&java, VRAPI_SYS_PROP_DEVICE_TYPE) == VRAPI_DEVICE_TYPE_OCULUSQUEST2) {
|
||||
vrapi_SetDisplayRefreshRate(appState.Ovr, 90);
|
||||
}
|
||||
|
||||
for ( bool destroyed = false; destroyed == false; )
|
||||
{
|
||||
for ( ; ; )
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "shared.h"
|
||||
#include "crc.h"
|
||||
|
||||
#define Q2QVERSION "1.0.5"
|
||||
#define Q2QVERSION "1.0.6"
|
||||
#define YQ2VERSION "7.41"
|
||||
#define BASEDIRNAME "Quake2Quest"
|
||||
|
||||
|
|
Loading…
Reference in a new issue