d3d9: Stub D3DPERF_ functions.
This commit is contained in:
parent
3d2ae69102
commit
6128a05071
|
@ -1,4 +1,10 @@
|
||||||
@ stdcall D3D9GetSWInfo()
|
@ stdcall D3D9GetSWInfo()
|
||||||
@ stdcall DebugSetMute()
|
@ stdcall DebugSetMute()
|
||||||
@ stdcall Direct3DCreate9(long)
|
@ stdcall Direct3DCreate9(long)
|
||||||
|
@ stdcall D3DPERF_BeginEvent(long wstr)
|
||||||
|
@ stdcall D3DPERF_EndEvent()
|
||||||
|
@ stdcall D3DPERF_GetStatus()
|
||||||
@ stdcall D3DPERF_SetOptions(long)
|
@ stdcall D3DPERF_SetOptions(long)
|
||||||
|
@ stdcall D3DPERF_QueryRepeatFrame()
|
||||||
|
@ stdcall D3DPERF_SetMarker(long wstr)
|
||||||
|
@ stdcall D3DPERF_SetRegion(long wstr)
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(d3d9);
|
WINE_DEFAULT_DEBUG_CHANNEL(d3d9);
|
||||||
|
|
||||||
|
static int D3DPERF_event_level = 0;
|
||||||
|
|
||||||
void (*wine_tsx11_lock_ptr)(void) = NULL;
|
void (*wine_tsx11_lock_ptr)(void) = NULL;
|
||||||
void (*wine_tsx11_unlock_ptr)(void) = NULL;
|
void (*wine_tsx11_unlock_ptr)(void) = NULL;
|
||||||
|
|
||||||
|
@ -70,6 +72,33 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* D3DPERF_BeginEvent (D3D9.@)
|
||||||
|
*/
|
||||||
|
int WINAPI D3DPERF_BeginEvent(D3DCOLOR color, LPCWSTR name) {
|
||||||
|
FIXME("(color %#lx, name %s) : stub\n", color, debugstr_w(name));
|
||||||
|
|
||||||
|
return D3DPERF_event_level++;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* D3DPERF_EndEvent (D3D9.@)
|
||||||
|
*/
|
||||||
|
int WINAPI D3DPERF_EndEvent(void) {
|
||||||
|
FIXME("(void) : stub\n");
|
||||||
|
|
||||||
|
return --D3DPERF_event_level;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* D3DPERF_GetStatus (D3D9.@)
|
||||||
|
*/
|
||||||
|
DWORD WINAPI D3DPERF_GetStatus(void) {
|
||||||
|
FIXME("(void) : stub\n");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* D3DPERF_SetOptions (D3D9.@)
|
* D3DPERF_SetOptions (D3D9.@)
|
||||||
*
|
*
|
||||||
|
@ -78,3 +107,26 @@ void WINAPI D3DPERF_SetOptions(DWORD options)
|
||||||
{
|
{
|
||||||
FIXME("(%#lx) : stub\n", options);
|
FIXME("(%#lx) : stub\n", options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* D3DPERF_QueryRepeatFrame (D3D9.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI D3DPERF_QueryRepeatFrame(void) {
|
||||||
|
FIXME("(void) : stub\n");
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* D3DPERF_SetMarker (D3D9.@)
|
||||||
|
*/
|
||||||
|
void WINAPI D3DPERF_SetMarker(D3DCOLOR color, LPCWSTR name) {
|
||||||
|
FIXME("(color %#lx, name %s) : stub\n", color, debugstr_w(name));
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* D3DPERF_SetRegion (D3D9.@)
|
||||||
|
*/
|
||||||
|
void WINAPI D3DPERF_SetRegion(D3DCOLOR color, LPCWSTR name) {
|
||||||
|
FIXME("(color %#lx, name %s) : stub\n", color, debugstr_w(name));
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue