d3d9_main.c revision cba6806c373c29c8dc066b563679186d859ad0fb
/* $Id$ */
/** @file
* VBox D3D8 dll switcher
*/
/*
* Copyright (C) 2009 Sun Microsystems, Inc.
*
* Sun Microsystems, Inc. confidential
* All rights reserved
*/
#include "d3d9.h"
#include "switcher.h"
typedef void (WINAPI *DebugSetMuteProc)(void);
typedef void* (WINAPI *Direct3DShaderValidatorCreate9Proc)(void);
typedef int (WINAPI *D3DPERF_EndEventProc)(void);
typedef struct _D3D9ExTag
{
int initialized;
const char *vboxName;
const char *msName;
} D3D9Export;
{
}
void WINAPI DebugSetMute(void)
{
}
{
}
{
}
void* WINAPI Direct3DShaderValidatorCreate9(void)
{
return g_swd3d9.pDirect3DShaderValidatorCreate9();
}
{
}
int WINAPI D3DPERF_EndEvent(void)
{
return g_swd3d9.pD3DPERF_EndEvent();
}
{
return g_swd3d9.pD3DPERF_GetStatus();
}
{
}
{
return g_swd3d9.pD3DPERF_QueryRepeatFrame();
}
{
}
{
}