mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
OpenXR - Increase foveation level
This commit is contained in:
parent
7536b8dda0
commit
f24026d163
@ -218,7 +218,7 @@ void VR_InitRenderer( engine_t* engine, bool multiview ) {
|
||||
multiview, vulkanContext);
|
||||
#ifdef ANDROID
|
||||
if (VR_GetPlatformFlag(VR_PLATFORM_EXTENSION_FOVEATION)) {
|
||||
ovrRenderer_SetFoveation(&engine->appState.Instance, &engine->appState.Session, &engine->appState.Renderer, XR_FOVEATION_LEVEL_HIGH_FB, 0, XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_FB);
|
||||
ovrRenderer_SetFoveation(&engine->appState.Instance, &engine->appState.Session, &engine->appState.Renderer, XR_FOVEATION_LEVEL_HIGH_TOP_FB, 0, XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_FB);
|
||||
}
|
||||
#endif
|
||||
initialized = true;
|
||||
|
@ -3476,6 +3476,7 @@ typedef enum XrFoveationLevelFB {
|
||||
XR_FOVEATION_LEVEL_LOW_FB = 1,
|
||||
XR_FOVEATION_LEVEL_MEDIUM_FB = 2,
|
||||
XR_FOVEATION_LEVEL_HIGH_FB = 3,
|
||||
XR_FOVEATION_LEVEL_HIGH_TOP_FB = 4,
|
||||
XR_FOVEATION_LEVEL_MAX_ENUM_FB = 0x7FFFFFFF
|
||||
} XrFoveationLevelFB;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user