Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6128a050
Commit
6128a050
authored
Aug 07, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Aug 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Stub D3DPERF_ functions.
parent
3d2ae691
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
d3d9.spec
dlls/d3d9/d3d9.spec
+6
-0
d3d9_main.c
dlls/d3d9/d3d9_main.c
+52
-0
No files found.
dlls/d3d9/d3d9.spec
View file @
6128a050
@ stdcall D3D9GetSWInfo()
@ stdcall DebugSetMute()
@ stdcall Direct3DCreate9(long)
@ stdcall D3DPERF_BeginEvent(long wstr)
@ stdcall D3DPERF_EndEvent()
@ stdcall D3DPERF_GetStatus()
@ stdcall D3DPERF_SetOptions(long)
@ stdcall D3DPERF_QueryRepeatFrame()
@ stdcall D3DPERF_SetMarker(long wstr)
@ stdcall D3DPERF_SetRegion(long wstr)
dlls/d3d9/d3d9_main.c
View file @
6128a050
...
...
@@ -27,6 +27,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d9
);
static
int
D3DPERF_event_level
=
0
;
void
(
*
wine_tsx11_lock_ptr
)(
void
)
=
NULL
;
void
(
*
wine_tsx11_unlock_ptr
)(
void
)
=
NULL
;
...
...
@@ -71,6 +73,33 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) {
}
/***********************************************************************
* 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.@)
*
*/
...
...
@@ -78,3 +107,26 @@ void WINAPI D3DPERF_SetOptions(DWORD 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
));
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment