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
|
|
|
|
2023-11-07 22:56:28 +03:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2023-09-30 14:08:49 +03:00
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_006_GetLastError( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_GetLastError_params *params = (struct IVRCompositor_IVRCompositor_006_GetLastError_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetLastError( params->pchBuffer, params->unBufferSize );
|
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_006_SetVSync( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_SetVSync_params *params = (struct IVRCompositor_IVRCompositor_006_SetVSync_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->SetVSync( params->bVSync );
|
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_006_GetVSync( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_GetVSync_params *params = (struct IVRCompositor_IVRCompositor_006_GetVSync_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetVSync( );
|
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_006_SetGamma( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_SetGamma_params *params = (struct IVRCompositor_IVRCompositor_006_SetGamma_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->SetGamma( params->fGamma );
|
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_006_GetGamma( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_GetGamma_params *params = (struct IVRCompositor_IVRCompositor_006_GetGamma_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->GetGamma( );
|
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_006_SetGraphicsDevice( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_SetGraphicsDevice_params *params = (struct IVRCompositor_IVRCompositor_006_SetGraphicsDevice_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side;
|
2023-09-28 11:22:41 +03:00
|
|
|
iface->SetGraphicsDevice( params->eType, params->pDevice );
|
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_006_WaitGetPoses( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_006_WaitGetPoses_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_Submit( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_Submit_params *params = (struct IVRCompositor_IVRCompositor_006_Submit_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side;
|
2023-10-04 23:05:02 +03:00
|
|
|
params->_ret = iface->Submit( params->eEye, params->pTexture, params->pBounds );
|
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_006_ClearLastSubmittedFrame( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_006_ClearLastSubmittedFrame_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_GetFrameTiming( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_006_GetFrameTiming_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)params->linux_side;
|
|
|
|
u_Compositor_FrameTiming_090 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_006_FadeToColor( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_006_FadeToColor_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_FadeGrid( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_006_FadeGrid_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_CompositorBringToFront( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_006_CompositorBringToFront_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_CompositorGoToBack( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_006_CompositorGoToBack_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_CompositorQuit( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_006_CompositorQuit_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_IsFullscreen( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_006_IsFullscreen_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_SetTrackingSpace( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_006_SetTrackingSpace_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_GetTrackingSpace( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_006_GetTrackingSpace_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_GetCurrentSceneFocusProcess( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_006_GetCurrentSceneFocusProcess_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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_006_CanRenderScene( void *args )
|
2018-01-18 22:29:49 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct IVRCompositor_IVRCompositor_006_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_006_CanRenderScene_params *)args;
|
2023-09-29 12:28:17 +03:00
|
|
|
struct u_IVRCompositor_IVRCompositor_006 *iface = (struct u_IVRCompositor_IVRCompositor_006 *)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
|
|
|
}
|
|
|
|
|