2023-09-29 11:28:17 +02:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "unix_private.h"
|
2023-09-30 13:08:49 +02:00
|
|
|
|
2023-11-07 20:56:28 +01:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_SetTrackingSpace( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_024_SetTrackingSpace_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->SetTrackingSpace( params->eOrigin );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetTrackingSpace( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_024_GetTrackingSpace_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetTrackingSpace( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_WaitGetPoses( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_024_WaitGetPoses_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetLastPoses( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_024_GetLastPoses_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params *params = (struct IVRCompositor_IVRCompositor_024_GetLastPoseForTrackedDeviceIndex_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetLastPoseForTrackedDeviceIndex( params->unDeviceIndex, params->pOutputPose, params->pOutputGamePose );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_024_ClearLastSubmittedFrame_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ClearLastSubmittedFrame( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_PostPresentHandoff( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_024_PostPresentHandoff_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->PostPresentHandoff( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTiming( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_024_GetFrameTiming_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetFrameTiming( params->pTiming, params->unFramesAgo );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTimings( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetFrameTimings_params *params = (struct IVRCompositor_IVRCompositor_024_GetFrameTimings_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetFrameTimings( params->pTiming, params->nFrames );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_024_GetFrameTimeRemaining_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetFrameTimeRemaining( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetCumulativeStats( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetCumulativeStats_params *params = (struct IVRCompositor_IVRCompositor_024_GetCumulativeStats_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->GetCumulativeStats( params->pStats, params->nStatsSizeInBytes );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_FadeToColor( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_024_FadeToColor_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentFadeColor( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params *params = (struct IVRCompositor_IVRCompositor_024_GetCurrentFadeColor_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
*params->_ret = iface->GetCurrentFadeColor( params->bBackground );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_FadeGrid( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_024_FadeGrid_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->FadeGrid( params->fSeconds, params->bFadeIn );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params *params = (struct IVRCompositor_IVRCompositor_024_GetCurrentGridAlpha_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetCurrentGridAlpha( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ClearSkyboxOverride( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_024_ClearSkyboxOverride_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ClearSkyboxOverride( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_CompositorBringToFront( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_024_CompositorBringToFront_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->CompositorBringToFront( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_CompositorGoToBack( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_024_CompositorGoToBack_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->CompositorGoToBack( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_CompositorQuit( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_024_CompositorQuit_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->CompositorQuit( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_IsFullscreen( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_024_IsFullscreen_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsFullscreen( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_024_GetCurrentSceneFocusProcess_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetCurrentSceneFocusProcess( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetLastFrameRenderer( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_024_GetLastFrameRenderer_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetLastFrameRenderer( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_CanRenderScene( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_024_CanRenderScene_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->CanRenderScene( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ShowMirrorWindow( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_024_ShowMirrorWindow_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ShowMirrorWindow( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_HideMirrorWindow( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_024_HideMirrorWindow_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->HideMirrorWindow( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_024_IsMirrorWindowVisible_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsMirrorWindowVisible( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_CompositorDumpImages( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_024_CompositorDumpImages_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->CompositorDumpImages( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params *params = (struct IVRCompositor_IVRCompositor_024_ShouldAppRenderWithLowResources_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ShouldAppRenderWithLowResources( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params *params = (struct IVRCompositor_IVRCompositor_024_ForceInterleavedReprojectionOn_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ForceInterleavedReprojectionOn( params->bOverride );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ForceReconnectProcess( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ForceReconnectProcess_params *params = (struct IVRCompositor_IVRCompositor_024_ForceReconnectProcess_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ForceReconnectProcess( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_SuspendRendering( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_SuspendRendering_params *params = (struct IVRCompositor_IVRCompositor_024_SuspendRendering_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->SuspendRendering( params->bSuspend );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_024_GetMirrorTextureD3D11_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetMirrorTextureD3D11( params->eEye, params->pD3D11DeviceOrResource, params->ppD3D11ShaderResourceView );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params *params = (struct IVRCompositor_IVRCompositor_024_ReleaseMirrorTextureD3D11_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ReleaseMirrorTextureD3D11( params->pD3D11ShaderResourceView );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetMirrorTextureGL( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params *params = (struct IVRCompositor_IVRCompositor_024_GetMirrorTextureGL_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetMirrorTextureGL( params->eEye, params->pglTextureId, params->pglSharedTextureHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params *params = (struct IVRCompositor_IVRCompositor_024_ReleaseSharedGLTexture_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->ReleaseSharedGLTexture( params->glTextureId, params->glSharedTextureHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_024_LockGLSharedTextureForAccess_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->LockGLSharedTextureForAccess( params->glSharedTextureHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params *params = (struct IVRCompositor_IVRCompositor_024_UnlockGLSharedTextureForAccess_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->UnlockGLSharedTextureForAccess( params->glSharedTextureHandle );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params *params = (struct IVRCompositor_IVRCompositor_024_GetVulkanInstanceExtensionsRequired_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->GetVulkanInstanceExtensionsRequired( params->pchValue, params->unBufferSize );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_SetExplicitTimingMode( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params *params = (struct IVRCompositor_IVRCompositor_024_SetExplicitTimingMode_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->SetExplicitTimingMode( params->eTimingMode );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params *params = (struct IVRCompositor_IVRCompositor_024_SubmitExplicitTimingData_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SubmitExplicitTimingData( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params *params = (struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingEnabled_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsMotionSmoothingEnabled( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params *params = (struct IVRCompositor_IVRCompositor_024_IsMotionSmoothingSupported_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsMotionSmoothingSupported( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params *params = (struct IVRCompositor_IVRCompositor_024_IsCurrentSceneFocusAppLoading_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->IsCurrentSceneFocusAppLoading( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_SetStageOverride_Async( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_SetStageOverride_Async_params *params = (struct IVRCompositor_IVRCompositor_024_SetStageOverride_Async_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-10-02 23:13:55 +02:00
|
|
|
char *u_pchRenderModelPath = vrclient_dos_to_unix_path( params->pchRenderModelPath );
|
2023-10-04 22:05:02 +02:00
|
|
|
params->_ret = iface->SetStageOverride_Async( u_pchRenderModelPath, params->pTransform, params->pRenderSettings, params->nSizeOfRenderSettings );
|
2023-10-02 23:13:55 +02:00
|
|
|
vrclient_free_path( u_pchRenderModelPath );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|
2023-09-30 13:08:49 +02:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_024_ClearStageOverride( void *args )
|
2020-03-18 19:50:17 +01:00
|
|
|
{
|
2023-09-30 13:08:49 +02:00
|
|
|
struct IVRCompositor_IVRCompositor_024_ClearStageOverride_params *params = (struct IVRCompositor_IVRCompositor_024_ClearStageOverride_params *)args;
|
2023-09-29 11:28:17 +02:00
|
|
|
struct u_IVRCompositor_IVRCompositor_024 *iface = (struct u_IVRCompositor_IVRCompositor_024 *)params->linux_side;
|
2023-09-28 10:22:41 +02:00
|
|
|
iface->ClearStageOverride( );
|
2023-09-30 13:08:49 +02:00
|
|
|
return 0;
|
2020-03-18 19:50:17 +01:00
|
|
|
}
|
|
|
|
|