mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-29 16:15:52 +03:00
37785cfbd3
CW-Bug-Id: #22729
187 lines
9.3 KiB
C++
187 lines
9.3 KiB
C++
/* This file is auto-generated, do not edit. */
|
|
#include "unix_private.h"
|
|
|
|
#if 0
|
|
#pragma makedep unix
|
|
#endif
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_SetTrackingSpace( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_SetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_010_SetTrackingSpace_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->SetTrackingSpace( params->eOrigin );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_GetTrackingSpace( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_GetTrackingSpace_params *params = (struct IVRCompositor_IVRCompositor_010_GetTrackingSpace_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->GetTrackingSpace( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_WaitGetPoses( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_WaitGetPoses_params *params = (struct IVRCompositor_IVRCompositor_010_WaitGetPoses_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->WaitGetPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_GetLastPoses( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_GetLastPoses_params *params = (struct IVRCompositor_IVRCompositor_010_GetLastPoses_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->GetLastPoses( params->pRenderPoseArray, params->unRenderPoseArrayCount, params->pGamePoseArray, params->unGamePoseArrayCount );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params *params = (struct IVRCompositor_IVRCompositor_010_ClearLastSubmittedFrame_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->ClearLastSubmittedFrame( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_PostPresentHandoff( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_PostPresentHandoff_params *params = (struct IVRCompositor_IVRCompositor_010_PostPresentHandoff_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->PostPresentHandoff( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_GetFrameTiming( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_GetFrameTiming_params *params = (struct IVRCompositor_IVRCompositor_010_GetFrameTiming_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
u_Compositor_FrameTiming_0914 u_pTiming;
|
|
if (params->pTiming) u_pTiming = *params->pTiming;
|
|
params->_ret = iface->GetFrameTiming( params->pTiming ? &u_pTiming : nullptr, params->unFramesAgo );
|
|
if (params->pTiming) *params->pTiming = u_pTiming;
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params *params = (struct IVRCompositor_IVRCompositor_010_GetFrameTimeRemaining_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->GetFrameTimeRemaining( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_FadeToColor( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_FadeToColor_params *params = (struct IVRCompositor_IVRCompositor_010_FadeToColor_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->FadeToColor( params->fSeconds, params->fRed, params->fGreen, params->fBlue, params->fAlpha, params->bBackground );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_FadeGrid( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_FadeGrid_params *params = (struct IVRCompositor_IVRCompositor_010_FadeGrid_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->FadeGrid( params->fSeconds, params->bFadeIn );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_ClearSkyboxOverride( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params *params = (struct IVRCompositor_IVRCompositor_010_ClearSkyboxOverride_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->ClearSkyboxOverride( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_CompositorBringToFront( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_CompositorBringToFront_params *params = (struct IVRCompositor_IVRCompositor_010_CompositorBringToFront_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->CompositorBringToFront( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_CompositorGoToBack( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_CompositorGoToBack_params *params = (struct IVRCompositor_IVRCompositor_010_CompositorGoToBack_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->CompositorGoToBack( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_CompositorQuit( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_CompositorQuit_params *params = (struct IVRCompositor_IVRCompositor_010_CompositorQuit_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->CompositorQuit( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_IsFullscreen( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_IsFullscreen_params *params = (struct IVRCompositor_IVRCompositor_010_IsFullscreen_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->IsFullscreen( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params *params = (struct IVRCompositor_IVRCompositor_010_GetCurrentSceneFocusProcess_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->GetCurrentSceneFocusProcess( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_GetLastFrameRenderer( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params *params = (struct IVRCompositor_IVRCompositor_010_GetLastFrameRenderer_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->GetLastFrameRenderer( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_CanRenderScene( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_CanRenderScene_params *params = (struct IVRCompositor_IVRCompositor_010_CanRenderScene_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->CanRenderScene( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_ShowMirrorWindow( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_ShowMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_010_ShowMirrorWindow_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->ShowMirrorWindow( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_HideMirrorWindow( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_HideMirrorWindow_params *params = (struct IVRCompositor_IVRCompositor_010_HideMirrorWindow_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->HideMirrorWindow( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params *params = (struct IVRCompositor_IVRCompositor_010_IsMirrorWindowVisible_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
params->_ret = iface->IsMirrorWindowVisible( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS IVRCompositor_IVRCompositor_010_CompositorDumpImages( void *args )
|
|
{
|
|
struct IVRCompositor_IVRCompositor_010_CompositorDumpImages_params *params = (struct IVRCompositor_IVRCompositor_010_CompositorDumpImages_params *)args;
|
|
struct u_IVRCompositor_IVRCompositor_010 *iface = (struct u_IVRCompositor_IVRCompositor_010 *)params->linux_side;
|
|
iface->CompositorDumpImages( );
|
|
return 0;
|
|
}
|
|
|