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
a9c2e15c
Commit
a9c2e15c
authored
May 14, 2007
by
Andrew Riedi
Committed by
Alexandre Julliard
May 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add hardware cursor support.
parent
52ca3eba
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
121 additions
and
57 deletions
+121
-57
device.c
dlls/wined3d/device.c
+114
-55
directx.c
dlls/wined3d/directx.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-0
wined3d_types.h
include/wine/wined3d_types.h
+3
-0
No files found.
dlls/wined3d/device.c
View file @
a9c2e15c
This diff is collapsed.
Click to expand it.
dlls/wined3d/directx.c
View file @
a9c2e15c
...
...
@@ -1928,8 +1928,8 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
*
pCaps
->
Caps3
=
WINED3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD
;
*
pCaps
->
PresentationIntervals
=
WINED3DPRESENT_INTERVAL_IMMEDIATE
;
*
pCaps
->
CursorCaps
=
0
;
*
pCaps
->
CursorCaps
=
WINED3DCURSORCAPS_COLOR
|
WINED3DCURSORCAPS_LOWRES
;
*
pCaps
->
DevCaps
=
WINED3DDEVCAPS_FLOATTLVERTEX
|
WINED3DDEVCAPS_EXECUTESYSTEMMEMORY
|
...
...
dlls/wined3d/wined3d_private.h
View file @
a9c2e15c
...
...
@@ -688,6 +688,8 @@ struct IWineD3DDeviceImpl
UINT
yScreenSpace
;
UINT
cursorWidth
,
cursorHeight
;
GLuint
cursorTexture
;
BOOL
haveHardwareCursor
;
HCURSOR
hardwareCursor
;
/* Textures for when no other textures are mapped */
UINT
dummyTextureName
[
MAX_TEXTURES
];
...
...
include/wine/wined3d_types.h
View file @
a9c2e15c
...
...
@@ -1449,6 +1449,9 @@ typedef enum _WINED3DSURFTYPE {
#define WINED3DVTXPCAPS_TEXGEN_SPHEREMAP 0x00000100L
#define WINED3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER 0x00000200L
#define WINED3DCURSORCAPS_COLOR 0x000000001
#define WINED3DCURSORCAPS_LOWRES 0x000000002
#define WINED3DDEVCAPS_FLOATTLVERTEX 0x000000001
#define WINED3DDEVCAPS_SORTINCREASINGZ 0x000000002
#define WINED3DDEVCAPS_SORTDECREASINGZ 0X000000004
...
...
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