Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
831a29d2
Commit
831a29d2
authored
Feb 03, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use an internal call table for query operations.
parent
b59dc811
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
query.c
dlls/wined3d/query.c
+0
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+11
-1
No files found.
dlls/wined3d/query.c
View file @
831a29d2
This diff is collapsed.
Click to expand it.
dlls/wined3d/wined3d_private.h
View file @
831a29d2
...
...
@@ -2467,6 +2467,15 @@ enum query_state {
QUERY_SIGNALLED
,
QUERY_BUILDING
};
struct
IWineD3DQueryImpl
;
struct
wined3d_query_ops
{
HRESULT
(
*
query_get_data
)(
struct
IWineD3DQueryImpl
*
query
,
void
*
data
,
DWORD
data_size
,
DWORD
flags
);
HRESULT
(
*
query_issue
)(
struct
IWineD3DQueryImpl
*
query
,
DWORD
flags
);
};
/*****************************************************************************
* IWineD3DQueryImpl implementation structure (extends IUnknown)
*/
...
...
@@ -2475,12 +2484,13 @@ typedef struct IWineD3DQueryImpl
const
IWineD3DQueryVtbl
*
lpVtbl
;
LONG
ref
;
/* Note: Ref counting not required */
const
struct
wined3d_query_ops
*
query_ops
;
IWineD3DDeviceImpl
*
device
;
/* IWineD3DQuery fields */
enum
query_state
state
;
WINED3DQUERYTYPE
type
;
/* TODO: Think about using a IUnknown instead of a void* */
DWORD
data_size
;
void
*
extendedData
;
}
IWineD3DQueryImpl
;
...
...
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