mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-30 16:45:36 +03:00
e0f82e30cb
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
30 lines
1.2 KiB
C++
30 lines
1.2 KiB
C++
#include "vrclient_private.h"
|
|
#include "vrclient_defs.h"
|
|
#include "openvr_v1.16.8/ivrclientcore.h"
|
|
using namespace vr;
|
|
extern "C" {
|
|
#include "struct_converters.h"
|
|
}
|
|
#include "cppIVRExtendedDisplay_IVRExtendedDisplay_001.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetWindowBounds(void *linux_side, int32_t * pnX, int32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight)
|
|
{
|
|
((IVRExtendedDisplay*)linux_side)->GetWindowBounds((int32_t *)pnX, (int32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight);
|
|
}
|
|
|
|
void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetEyeOutputViewport(void *linux_side, EVREye eEye, uint32_t * pnX, uint32_t * pnY, uint32_t * pnWidth, uint32_t * pnHeight)
|
|
{
|
|
((IVRExtendedDisplay*)linux_side)->GetEyeOutputViewport((vr::EVREye)eEye, (uint32_t *)pnX, (uint32_t *)pnY, (uint32_t *)pnWidth, (uint32_t *)pnHeight);
|
|
}
|
|
|
|
void cppIVRExtendedDisplay_IVRExtendedDisplay_001_GetDXGIOutputInfo(void *linux_side, int32_t * pnAdapterIndex, int32_t * pnAdapterOutputIndex)
|
|
{
|
|
((IVRExtendedDisplay*)linux_side)->GetDXGIOutputInfo((int32_t *)pnAdapterIndex, (int32_t *)pnAdapterOutputIndex);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|