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
5c5216e6
Commit
5c5216e6
authored
Dec 06, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the WINED3DBOX typedef.
parent
05acde9c
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
99 additions
and
99 deletions
+99
-99
cubetexture.c
dlls/d3d8/cubetexture.c
+8
-8
texture.c
dlls/d3d8/texture.c
+8
-8
volume.c
dlls/d3d8/volume.c
+1
-1
volumetexture.c
dlls/d3d8/volumetexture.c
+1
-1
cubetexture.c
dlls/d3d9/cubetexture.c
+8
-8
texture.c
dlls/d3d9/texture.c
+8
-8
volume.c
dlls/d3d9/volume.c
+1
-1
volumetexture.c
dlls/d3d9/volumetexture.c
+1
-1
surface.c
dlls/wined3d/surface.c
+13
-13
texture.c
dlls/wined3d/texture.c
+3
-3
volume.c
dlls/wined3d/volume.c
+31
-31
wined3d_private.h
dlls/wined3d/wined3d_private.h
+5
-5
wined3d.h
include/wine/wined3d.h
+11
-11
No files found.
dlls/d3d8/cubetexture.c
View file @
5c5216e6
...
...
@@ -363,14 +363,14 @@ static HRESULT WINAPI IDirect3DCubeTexture8Impl_AddDirtyRect(IDirect3DCubeTextur
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
face
,
NULL
);
else
{
WINED3DBOX
dirty_region
;
dirty_region
.
L
eft
=
dirty_rect
->
left
;
dirty_region
.
T
op
=
dirty_rect
->
top
;
dirty_region
.
R
ight
=
dirty_rect
->
right
;
dirty_region
.
B
ottom
=
dirty_rect
->
bottom
;
dirty_region
.
F
ront
=
0
;
dirty_region
.
B
ack
=
1
;
struct
wined3d_box
dirty_region
;
dirty_region
.
l
eft
=
dirty_rect
->
left
;
dirty_region
.
t
op
=
dirty_rect
->
top
;
dirty_region
.
r
ight
=
dirty_rect
->
right
;
dirty_region
.
b
ottom
=
dirty_rect
->
bottom
;
dirty_region
.
f
ront
=
0
;
dirty_region
.
b
ack
=
1
;
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
face
,
&
dirty_region
);
}
wined3d_mutex_unlock
();
...
...
dlls/d3d8/texture.c
View file @
5c5216e6
...
...
@@ -351,14 +351,14 @@ static HRESULT WINAPI IDirect3DTexture8Impl_AddDirtyRect(IDirect3DTexture8 *ifac
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
0
,
NULL
);
else
{
WINED3DBOX
dirty_region
;
dirty_region
.
L
eft
=
dirty_rect
->
left
;
dirty_region
.
T
op
=
dirty_rect
->
top
;
dirty_region
.
R
ight
=
dirty_rect
->
right
;
dirty_region
.
B
ottom
=
dirty_rect
->
bottom
;
dirty_region
.
F
ront
=
0
;
dirty_region
.
B
ack
=
1
;
struct
wined3d_box
dirty_region
;
dirty_region
.
l
eft
=
dirty_rect
->
left
;
dirty_region
.
t
op
=
dirty_rect
->
top
;
dirty_region
.
r
ight
=
dirty_rect
->
right
;
dirty_region
.
b
ottom
=
dirty_rect
->
bottom
;
dirty_region
.
f
ront
=
0
;
dirty_region
.
b
ack
=
1
;
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
0
,
&
dirty_region
);
}
wined3d_mutex_unlock
();
...
...
dlls/d3d8/volume.c
View file @
5c5216e6
...
...
@@ -228,7 +228,7 @@ static HRESULT WINAPI IDirect3DVolume8Impl_LockBox(IDirect3DVolume8 *iface,
wined3d_mutex_lock
();
hr
=
wined3d_volume_map
(
This
->
wined3d_volume
,
(
struct
wined3d_mapped_box
*
)
pLockedVolume
,
(
const
WINED3DBOX
*
)
pBox
,
Flags
);
(
const
struct
wined3d_box
*
)
pBox
,
Flags
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/d3d8/volumetexture.c
View file @
5c5216e6
...
...
@@ -348,7 +348,7 @@ static HRESULT WINAPI IDirect3DVolumeTexture8Impl_AddDirtyBox(IDirect3DVolumeTex
TRACE
(
"iface %p, dirty_box %p.
\n
"
,
iface
,
dirty_box
);
wined3d_mutex_lock
();
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
0
,
(
const
WINED3DBOX
*
)
dirty_box
);
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
0
,
(
const
struct
wined3d_box
*
)
dirty_box
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/d3d9/cubetexture.c
View file @
5c5216e6
...
...
@@ -406,14 +406,14 @@ static HRESULT WINAPI IDirect3DCubeTexture9Impl_AddDirtyRect(IDirect3DCubeTextu
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
face
,
NULL
);
else
{
WINED3DBOX
dirty_region
;
dirty_region
.
L
eft
=
dirty_rect
->
left
;
dirty_region
.
T
op
=
dirty_rect
->
top
;
dirty_region
.
R
ight
=
dirty_rect
->
right
;
dirty_region
.
B
ottom
=
dirty_rect
->
bottom
;
dirty_region
.
F
ront
=
0
;
dirty_region
.
B
ack
=
1
;
struct
wined3d_box
dirty_region
;
dirty_region
.
l
eft
=
dirty_rect
->
left
;
dirty_region
.
t
op
=
dirty_rect
->
top
;
dirty_region
.
r
ight
=
dirty_rect
->
right
;
dirty_region
.
b
ottom
=
dirty_rect
->
bottom
;
dirty_region
.
f
ront
=
0
;
dirty_region
.
b
ack
=
1
;
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
face
,
&
dirty_region
);
}
wined3d_mutex_unlock
();
...
...
dlls/d3d9/texture.c
View file @
5c5216e6
...
...
@@ -392,14 +392,14 @@ static HRESULT WINAPI IDirect3DTexture9Impl_AddDirtyRect(IDirect3DTexture9 *ifac
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
0
,
NULL
);
else
{
WINED3DBOX
dirty_region
;
dirty_region
.
L
eft
=
dirty_rect
->
left
;
dirty_region
.
T
op
=
dirty_rect
->
top
;
dirty_region
.
R
ight
=
dirty_rect
->
right
;
dirty_region
.
B
ottom
=
dirty_rect
->
bottom
;
dirty_region
.
F
ront
=
0
;
dirty_region
.
B
ack
=
1
;
struct
wined3d_box
dirty_region
;
dirty_region
.
l
eft
=
dirty_rect
->
left
;
dirty_region
.
t
op
=
dirty_rect
->
top
;
dirty_region
.
r
ight
=
dirty_rect
->
right
;
dirty_region
.
b
ottom
=
dirty_rect
->
bottom
;
dirty_region
.
f
ront
=
0
;
dirty_region
.
b
ack
=
1
;
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
0
,
&
dirty_region
);
}
wined3d_mutex_unlock
();
...
...
dlls/d3d9/volume.c
View file @
5c5216e6
...
...
@@ -226,7 +226,7 @@ static HRESULT WINAPI IDirect3DVolume9Impl_LockBox(IDirect3DVolume9 *iface,
wined3d_mutex_lock
();
hr
=
wined3d_volume_map
(
This
->
wined3d_volume
,
(
struct
wined3d_mapped_box
*
)
pLockedVolume
,
(
const
WINED3DBOX
*
)
pBox
,
Flags
);
(
const
struct
wined3d_box
*
)
pBox
,
Flags
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/d3d9/volumetexture.c
View file @
5c5216e6
...
...
@@ -386,7 +386,7 @@ static HRESULT WINAPI IDirect3DVolumeTexture9Impl_AddDirtyBox(IDirect3DVolumeTex
TRACE
(
"iface %p, dirty_box %p.
\n
"
,
iface
,
dirty_box
);
wined3d_mutex_lock
();
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
0
,
(
const
WINED3DBOX
*
)
dirty_box
);
hr
=
wined3d_texture_add_dirty_region
(
texture
->
wined3d_texture
,
0
,
(
const
struct
wined3d_box
*
)
dirty_box
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/wined3d/surface.c
View file @
5c5216e6
...
...
@@ -904,14 +904,14 @@ static void surface_map(struct wined3d_surface *surface, const RECT *rect, DWORD
surface_add_dirty_rect
(
surface
,
NULL
);
else
{
WINED3DBOX
b
;
b
.
L
eft
=
rect
->
left
;
b
.
T
op
=
rect
->
top
;
b
.
R
ight
=
rect
->
right
;
b
.
B
ottom
=
rect
->
bottom
;
b
.
F
ront
=
0
;
b
.
B
ack
=
1
;
struct
wined3d_box
b
;
b
.
l
eft
=
rect
->
left
;
b
.
t
op
=
rect
->
top
;
b
.
r
ight
=
rect
->
right
;
b
.
b
ottom
=
rect
->
bottom
;
b
.
f
ront
=
0
;
b
.
b
ack
=
1
;
surface_add_dirty_rect
(
surface
,
&
b
);
}
}
...
...
@@ -2679,7 +2679,7 @@ GLenum surface_get_gl_buffer(const struct wined3d_surface *surface)
}
/* Slightly inefficient way to handle multiple dirty rects but it works :) */
void
surface_add_dirty_rect
(
struct
wined3d_surface
*
surface
,
const
WINED3DBOX
*
dirty_rect
)
void
surface_add_dirty_rect
(
struct
wined3d_surface
*
surface
,
const
struct
wined3d_box
*
dirty_rect
)
{
TRACE
(
"surface %p, dirty_rect %p.
\n
"
,
surface
,
dirty_rect
);
...
...
@@ -2690,10 +2690,10 @@ void surface_add_dirty_rect(struct wined3d_surface *surface, const WINED3DBOX *d
surface_modify_location
(
surface
,
SFLAG_INSYSMEM
,
TRUE
);
if
(
dirty_rect
)
{
surface
->
dirtyRect
.
left
=
min
(
surface
->
dirtyRect
.
left
,
dirty_rect
->
L
eft
);
surface
->
dirtyRect
.
top
=
min
(
surface
->
dirtyRect
.
top
,
dirty_rect
->
T
op
);
surface
->
dirtyRect
.
right
=
max
(
surface
->
dirtyRect
.
right
,
dirty_rect
->
R
ight
);
surface
->
dirtyRect
.
bottom
=
max
(
surface
->
dirtyRect
.
bottom
,
dirty_rect
->
B
ottom
);
surface
->
dirtyRect
.
left
=
min
(
surface
->
dirtyRect
.
left
,
dirty_rect
->
l
eft
);
surface
->
dirtyRect
.
top
=
min
(
surface
->
dirtyRect
.
top
,
dirty_rect
->
t
op
);
surface
->
dirtyRect
.
right
=
max
(
surface
->
dirtyRect
.
right
,
dirty_rect
->
r
ight
);
surface
->
dirtyRect
.
bottom
=
max
(
surface
->
dirtyRect
.
bottom
,
dirty_rect
->
b
ottom
);
}
else
{
...
...
dlls/wined3d/texture.c
View file @
5c5216e6
...
...
@@ -569,7 +569,7 @@ struct wined3d_resource * CDECL wined3d_texture_get_sub_resource(struct wined3d_
}
HRESULT
CDECL
wined3d_texture_add_dirty_region
(
struct
wined3d_texture
*
texture
,
UINT
layer
,
const
WINED3DBOX
*
dirty_region
)
UINT
layer
,
const
struct
wined3d_box
*
dirty_region
)
{
struct
wined3d_resource
*
sub_resource
;
...
...
@@ -704,7 +704,7 @@ static void texture2d_preload(struct wined3d_texture *texture, enum WINED3DSRGB
}
static
void
texture2d_sub_resource_add_dirty_region
(
struct
wined3d_resource
*
sub_resource
,
const
WINED3DBOX
*
dirty_region
)
const
struct
wined3d_box
*
dirty_region
)
{
surface_add_dirty_rect
(
surface_from_resource
(
sub_resource
),
dirty_region
);
}
...
...
@@ -1102,7 +1102,7 @@ static void texture3d_preload(struct wined3d_texture *texture, enum WINED3DSRGB
}
static
void
texture3d_sub_resource_add_dirty_region
(
struct
wined3d_resource
*
sub_resource
,
const
WINED3DBOX
*
dirty_region
)
const
struct
wined3d_box
*
dirty_region
)
{
volume_add_dirty_box
(
volume_from_resource
(
sub_resource
),
dirty_region
);
}
...
...
dlls/wined3d/volume.c
View file @
5c5216e6
...
...
@@ -46,26 +46,26 @@ static void volume_bind_and_dirtify(const struct wined3d_volume *volume, struct
container
->
texture_ops
->
texture_bind
(
container
,
context
,
FALSE
);
}
void
volume_add_dirty_box
(
struct
wined3d_volume
*
volume
,
const
WINED3DBOX
*
dirty_box
)
void
volume_add_dirty_box
(
struct
wined3d_volume
*
volume
,
const
struct
wined3d_box
*
dirty_box
)
{
volume
->
dirty
=
TRUE
;
if
(
dirty_box
)
{
volume
->
lockedBox
.
Left
=
min
(
volume
->
lockedBox
.
Left
,
dirty_box
->
L
eft
);
volume
->
lockedBox
.
Top
=
min
(
volume
->
lockedBox
.
Top
,
dirty_box
->
T
op
);
volume
->
lockedBox
.
Front
=
min
(
volume
->
lockedBox
.
Front
,
dirty_box
->
F
ront
);
volume
->
lockedBox
.
Right
=
max
(
volume
->
lockedBox
.
Right
,
dirty_box
->
R
ight
);
volume
->
lockedBox
.
Bottom
=
max
(
volume
->
lockedBox
.
Bottom
,
dirty_box
->
B
ottom
);
volume
->
lockedBox
.
Back
=
max
(
volume
->
lockedBox
.
Back
,
dirty_box
->
B
ack
);
volume
->
lockedBox
.
left
=
min
(
volume
->
lockedBox
.
left
,
dirty_box
->
l
eft
);
volume
->
lockedBox
.
top
=
min
(
volume
->
lockedBox
.
top
,
dirty_box
->
t
op
);
volume
->
lockedBox
.
front
=
min
(
volume
->
lockedBox
.
front
,
dirty_box
->
f
ront
);
volume
->
lockedBox
.
right
=
max
(
volume
->
lockedBox
.
right
,
dirty_box
->
r
ight
);
volume
->
lockedBox
.
bottom
=
max
(
volume
->
lockedBox
.
bottom
,
dirty_box
->
b
ottom
);
volume
->
lockedBox
.
back
=
max
(
volume
->
lockedBox
.
back
,
dirty_box
->
b
ack
);
}
else
{
volume
->
lockedBox
.
L
eft
=
0
;
volume
->
lockedBox
.
T
op
=
0
;
volume
->
lockedBox
.
F
ront
=
0
;
volume
->
lockedBox
.
R
ight
=
volume
->
resource
.
width
;
volume
->
lockedBox
.
B
ottom
=
volume
->
resource
.
height
;
volume
->
lockedBox
.
B
ack
=
volume
->
resource
.
depth
;
volume
->
lockedBox
.
l
eft
=
0
;
volume
->
lockedBox
.
t
op
=
0
;
volume
->
lockedBox
.
f
ront
=
0
;
volume
->
lockedBox
.
r
ight
=
volume
->
resource
.
width
;
volume
->
lockedBox
.
b
ottom
=
volume
->
resource
.
height
;
volume
->
lockedBox
.
b
ack
=
volume
->
resource
.
depth
;
}
}
...
...
@@ -185,7 +185,7 @@ struct wined3d_resource * CDECL wined3d_volume_get_resource(struct wined3d_volum
}
HRESULT
CDECL
wined3d_volume_map
(
struct
wined3d_volume
*
volume
,
struct
wined3d_mapped_box
*
mapped_box
,
const
WINED3DBOX
*
box
,
DWORD
flags
)
struct
wined3d_mapped_box
*
mapped_box
,
const
struct
wined3d_box
*
box
,
DWORD
flags
)
{
TRACE
(
"volume %p, mapped_box %p, box %p, flags %#x.
\n
"
,
volume
,
mapped_box
,
box
,
flags
);
...
...
@@ -202,27 +202,27 @@ HRESULT CDECL wined3d_volume_map(struct wined3d_volume *volume,
{
TRACE
(
"No box supplied - all is ok
\n
"
);
mapped_box
->
data
=
volume
->
resource
.
allocatedMemory
;
volume
->
lockedBox
.
L
eft
=
0
;
volume
->
lockedBox
.
T
op
=
0
;
volume
->
lockedBox
.
F
ront
=
0
;
volume
->
lockedBox
.
R
ight
=
volume
->
resource
.
width
;
volume
->
lockedBox
.
B
ottom
=
volume
->
resource
.
height
;
volume
->
lockedBox
.
B
ack
=
volume
->
resource
.
depth
;
volume
->
lockedBox
.
l
eft
=
0
;
volume
->
lockedBox
.
t
op
=
0
;
volume
->
lockedBox
.
f
ront
=
0
;
volume
->
lockedBox
.
r
ight
=
volume
->
resource
.
width
;
volume
->
lockedBox
.
b
ottom
=
volume
->
resource
.
height
;
volume
->
lockedBox
.
b
ack
=
volume
->
resource
.
depth
;
}
else
{
TRACE
(
"Lock Box (%p) = l %
d, t %d, r %d, b %d, fr %d, ba %d
\n
"
,
box
,
box
->
Left
,
box
->
Top
,
box
->
Right
,
box
->
Bottom
,
box
->
Front
,
box
->
B
ack
);
TRACE
(
"Lock Box (%p) = l %
u, t %u, r %u, b %u, fr %u, ba %u
\n
"
,
box
,
box
->
left
,
box
->
top
,
box
->
right
,
box
->
bottom
,
box
->
front
,
box
->
b
ack
);
mapped_box
->
data
=
volume
->
resource
.
allocatedMemory
+
(
mapped_box
->
slice_pitch
*
box
->
F
ront
)
/* FIXME: is front < back or vica versa? */
+
(
mapped_box
->
row_pitch
*
box
->
T
op
)
+
(
box
->
L
eft
*
volume
->
resource
.
format
->
byte_count
);
volume
->
lockedBox
.
Left
=
box
->
L
eft
;
volume
->
lockedBox
.
Top
=
box
->
T
op
;
volume
->
lockedBox
.
Front
=
box
->
F
ront
;
volume
->
lockedBox
.
Right
=
box
->
R
ight
;
volume
->
lockedBox
.
Bottom
=
box
->
B
ottom
;
volume
->
lockedBox
.
Back
=
box
->
B
ack
;
+
(
mapped_box
->
slice_pitch
*
box
->
f
ront
)
/* FIXME: is front < back or vica versa? */
+
(
mapped_box
->
row_pitch
*
box
->
t
op
)
+
(
box
->
l
eft
*
volume
->
resource
.
format
->
byte_count
);
volume
->
lockedBox
.
left
=
box
->
l
eft
;
volume
->
lockedBox
.
top
=
box
->
t
op
;
volume
->
lockedBox
.
front
=
box
->
f
ront
;
volume
->
lockedBox
.
right
=
box
->
r
ight
;
volume
->
lockedBox
.
bottom
=
box
->
b
ottom
;
volume
->
lockedBox
.
back
=
box
->
b
ack
;
}
if
(
!
(
flags
&
(
WINED3DLOCK_NO_DIRTY_UPDATE
|
WINED3DLOCK_READONLY
)))
...
...
dlls/wined3d/wined3d_private.h
View file @
5c5216e6
...
...
@@ -1882,7 +1882,7 @@ struct wined3d_texture_ops
struct
wined3d_context
*
context
,
BOOL
srgb
);
void
(
*
texture_preload
)(
struct
wined3d_texture
*
texture
,
enum
WINED3DSRGB
srgb
);
void
(
*
texture_sub_resource_add_dirty_region
)(
struct
wined3d_resource
*
sub_resource
,
const
WINED3DBOX
*
dirty_region
);
const
struct
wined3d_box
*
dirty_region
);
void
(
*
texture_sub_resource_cleanup
)(
struct
wined3d_resource
*
sub_resource
);
};
...
...
@@ -1932,8 +1932,8 @@ struct wined3d_volume
struct
wined3d_texture
*
container
;
BOOL
lockable
;
BOOL
locked
;
WINED3DBOX
lockedBox
;
WINED3DBOX
dirtyBox
;
struct
wined3d_box
lockedBox
;
struct
wined3d_box
dirtyBox
;
BOOL
dirty
;
};
...
...
@@ -1942,7 +1942,7 @@ static inline struct wined3d_volume *volume_from_resource(struct wined3d_resourc
return
CONTAINING_RECORD
(
resource
,
struct
wined3d_volume
,
resource
);
}
void
volume_add_dirty_box
(
struct
wined3d_volume
*
volume
,
const
WINED3DBOX
*
dirty_box
)
DECLSPEC_HIDDEN
;
void
volume_add_dirty_box
(
struct
wined3d_volume
*
volume
,
const
struct
wined3d_box
*
dirty_box
)
DECLSPEC_HIDDEN
;
void
volume_load
(
const
struct
wined3d_volume
*
volume
,
struct
wined3d_context
*
context
,
UINT
level
,
BOOL
srgb_mode
)
DECLSPEC_HIDDEN
;
void
volume_set_container
(
struct
wined3d_volume
*
volume
,
struct
wined3d_texture
*
container
)
DECLSPEC_HIDDEN
;
...
...
@@ -2076,7 +2076,7 @@ static inline GLuint surface_get_texture_name(const struct wined3d_surface *surf
?
surface
->
texture_name_srgb
:
surface
->
texture_name
;
}
void
surface_add_dirty_rect
(
struct
wined3d_surface
*
surface
,
const
WINED3DBOX
*
dirty_rect
)
DECLSPEC_HIDDEN
;
void
surface_add_dirty_rect
(
struct
wined3d_surface
*
surface
,
const
struct
wined3d_box
*
dirty_rect
)
DECLSPEC_HIDDEN
;
void
surface_bind
(
struct
wined3d_surface
*
surface
,
struct
wined3d_context
*
context
,
BOOL
srgb
)
DECLSPEC_HIDDEN
;
HRESULT
surface_color_fill
(
struct
wined3d_surface
*
s
,
const
RECT
*
rect
,
const
struct
wined3d_color
*
color
)
DECLSPEC_HIDDEN
;
...
...
include/wine/wined3d.h
View file @
5c5216e6
...
...
@@ -1715,15 +1715,15 @@ struct wined3d_mapped_box
void
*
data
;
};
typedef
struct
_WINED3DBOX
{
UINT
L
eft
;
UINT
T
op
;
UINT
R
ight
;
UINT
B
ottom
;
UINT
F
ront
;
UINT
B
ack
;
}
WINED3DBOX
;
struct
wined3d_box
{
UINT
l
eft
;
UINT
t
op
;
UINT
r
ight
;
UINT
b
ottom
;
UINT
f
ront
;
UINT
b
ack
;
};
typedef
struct
WineDirect3DStridedData
{
...
...
@@ -2405,7 +2405,7 @@ HRESULT __cdecl wined3d_swapchain_set_gamma_ramp(const struct wined3d_swapchain
HRESULT
__cdecl
wined3d_swapchain_set_window
(
struct
wined3d_swapchain
*
swapchain
,
HWND
window
);
HRESULT
__cdecl
wined3d_texture_add_dirty_region
(
struct
wined3d_texture
*
texture
,
UINT
layer
,
const
WINED3DBOX
*
dirty_region
);
UINT
layer
,
const
struct
wined3d_box
*
dirty_region
);
HRESULT
__cdecl
wined3d_texture_create_2d
(
struct
wined3d_device
*
device
,
UINT
width
,
UINT
height
,
UINT
level_count
,
DWORD
usage
,
enum
wined3d_format_id
format_id
,
WINED3DPOOL
pool
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
,
struct
wined3d_texture
**
texture
);
...
...
@@ -2452,7 +2452,7 @@ DWORD __cdecl wined3d_volume_get_priority(const struct wined3d_volume *volume);
struct
wined3d_resource
*
__cdecl
wined3d_volume_get_resource
(
struct
wined3d_volume
*
volume
);
ULONG
__cdecl
wined3d_volume_incref
(
struct
wined3d_volume
*
volume
);
HRESULT
__cdecl
wined3d_volume_map
(
struct
wined3d_volume
*
volume
,
struct
wined3d_mapped_box
*
mapped_box
,
const
WINED3DBOX
*
box
,
DWORD
flags
);
struct
wined3d_mapped_box
*
mapped_box
,
const
struct
wined3d_box
*
box
,
DWORD
flags
);
void
__cdecl
wined3d_volume_preload
(
struct
wined3d_volume
*
volume
);
DWORD
__cdecl
wined3d_volume_set_priority
(
struct
wined3d_volume
*
volume
,
DWORD
new_priority
);
HRESULT
__cdecl
wined3d_volume_unmap
(
struct
wined3d_volume
*
volume
);
...
...
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