mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-02 12:32:03 +01:00
26 lines
617 B
C++
26 lines
617 B
C++
// Copyright (c) 2012- PPSSPP Project.
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License version 2.0 or later.
|
|
|
|
#pragma once
|
|
|
|
struct XrView;
|
|
|
|
namespace Libretro {
|
|
enum class VRMode { Off, Stereoscopic, Immersive };
|
|
|
|
// Frontend/GL-thread entry points.
|
|
void SetVRMode(VRMode mode);
|
|
void UpdateVR();
|
|
void DestroyVR();
|
|
bool VRActive();
|
|
bool VRRequested();
|
|
int VREye();
|
|
void GetVRView(int eye, XrView *view);
|
|
unsigned VRGeneration();
|
|
void BeginVREye(int eye);
|
|
void EndVREyes();
|
|
bool RetainVRCommands();
|
|
void PresentVR(unsigned framebuffer);
|
|
}
|