2023-09-29 12:28:17 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 14:08:49 +03:00
|
|
|
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_SetTrackingSpace( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_016_SetTrackingSpace_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->SetTrackingSpace( params->eOrigin );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetTrackingSpace( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_016_GetTrackingSpace_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetTrackingSpace( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_WaitGetPoses( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_016_WaitGetPoses_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetLastPoses( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_016_GetLastPoses_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_016_GetLastPoseForTrackedDeviceIndex_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_016_ClearLastSubmittedFrame_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->ClearLastSubmittedFrame( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_PostPresentHandoff( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_016_PostPresentHandoff_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->PostPresentHandoff( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetFrameTiming( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_016_GetFrameTiming_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
|
|
|
u_Compositor_FrameTiming_102 u_pTiming;
|
|
|
|
if (params->pTiming) u_pTiming = *params->pTiming;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo );
|
2023-09-29 12:28:17 +03:00
|
|
|
if (params->pTiming) *params->pTiming = u_pTiming;
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_016_GetFrameTimeRemaining_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetFrameTimeRemaining( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetCumulativeStats( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_016_GetCumulativeStats_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_FadeToColor( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_016_FadeToColor_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_FadeGrid( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_016_FadeGrid_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->FadeGrid( params->fSeconds, params->bFadeIn );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_ClearSkyboxOverride( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_016_ClearSkyboxOverride_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->ClearSkyboxOverride( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_CompositorBringToFront( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_016_CompositorBringToFront_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->CompositorBringToFront( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_CompositorGoToBack( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_016_CompositorGoToBack_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->CompositorGoToBack( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_CompositorQuit( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_016_CompositorQuit_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->CompositorQuit( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_IsFullscreen( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_016_IsFullscreen_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->IsFullscreen( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_016_GetCurrentSceneFocusProcess_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetCurrentSceneFocusProcess( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetLastFrameRenderer( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_016_GetLastFrameRenderer_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetLastFrameRenderer( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_CanRenderScene( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_016_CanRenderScene_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->CanRenderScene( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_ShowMirrorWindow( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_016_ShowMirrorWindow_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->ShowMirrorWindow( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_HideMirrorWindow( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_016_HideMirrorWindow_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->HideMirrorWindow( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_016_IsMirrorWindowVisible_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->IsMirrorWindowVisible( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_CompositorDumpImages( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_016_CompositorDumpImages_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->CompositorDumpImages( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_016_ShouldAppRenderWithLowResources_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->ShouldAppRenderWithLowResources( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_016_ForceInterleavedReprojectionOn_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->ForceInterleavedReprojectionOn( params->bOverride );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_ForceReconnectProcess( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_016_ForceReconnectProcess_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->ForceReconnectProcess( );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_SuspendRendering( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_016_SuspendRendering_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->SuspendRendering( params->bSuspend );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_016_GetMirrorTextureD3D11_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_GetMirrorTextureGL( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_016_GetMirrorTextureGL_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_016_ReleaseSharedGLTexture_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_016_LockGLSharedTextureForAccess_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_016_UnlockGLSharedTextureForAccess_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_016 *iface = (struct u_IVRCompositor_IVRCompositor_016 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle );
|
2023-09-30 14:08:49 +03:00
|
|
|
return 0;
|
2018-01-18 22:29:49 +03:00
|
|
|
}
|
|
|
|
|