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
1ec21e32
Commit
1ec21e32
authored
Jan 20, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename WineD3DRectPatch to wined3d_rect_patch.
parent
3769afa3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
device.c
dlls/wined3d/device.c
+9
-7
drawprim.c
dlls/wined3d/drawprim.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-2
No files found.
dlls/wined3d/device.c
View file @
1ec21e32
...
...
@@ -1443,12 +1443,14 @@ HRESULT CDECL wined3d_device_uninit_3d(struct wined3d_device *device)
}
TRACE
(
"Deleting high order patches
\n
"
);
for
(
i
=
0
;
i
<
PATCHMAP_SIZE
;
i
++
)
{
for
(
i
=
0
;
i
<
PATCHMAP_SIZE
;
++
i
)
{
struct
wined3d_rect_patch
*
patch
;
struct
list
*
e1
,
*
e2
;
struct
WineD3DRectPatch
*
patch
;
LIST_FOR_EACH_SAFE
(
e1
,
e2
,
&
device
->
patches
[
i
])
{
patch
=
LIST_ENTRY
(
e1
,
struct
WineD3DRectP
atch
,
entry
);
patch
=
LIST_ENTRY
(
e1
,
struct
wined3d_rect_p
atch
,
entry
);
wined3d_device_delete_patch
(
device
,
patch
->
Handle
);
}
}
...
...
@@ -4633,7 +4635,7 @@ HRESULT CDECL wined3d_device_update_surface(struct wined3d_device *device,
HRESULT
CDECL
wined3d_device_draw_rect_patch
(
struct
wined3d_device
*
device
,
UINT
handle
,
const
float
*
num_segs
,
const
struct
wined3d_rect_patch_info
*
rect_patch_info
)
{
struct
WineD3DRectP
atch
*
patch
;
struct
wined3d_rect_p
atch
*
patch
;
GLenum
old_primitive_type
;
unsigned
int
i
;
struct
list
*
e
;
...
...
@@ -4655,7 +4657,7 @@ HRESULT CDECL wined3d_device_draw_rect_patch(struct wined3d_device *device, UINT
found
=
FALSE
;
LIST_FOR_EACH
(
e
,
&
device
->
patches
[
i
])
{
patch
=
LIST_ENTRY
(
e
,
struct
WineD3DRectP
atch
,
entry
);
patch
=
LIST_ENTRY
(
e
,
struct
wined3d_rect_p
atch
,
entry
);
if
(
patch
->
Handle
==
handle
)
{
found
=
TRUE
;
...
...
@@ -4739,7 +4741,7 @@ HRESULT CDECL wined3d_device_draw_tri_patch(struct wined3d_device *device, UINT
HRESULT
CDECL
wined3d_device_delete_patch
(
struct
wined3d_device
*
device
,
UINT
handle
)
{
struct
WineD3DRectP
atch
*
patch
;
struct
wined3d_rect_p
atch
*
patch
;
struct
list
*
e
;
int
i
;
...
...
@@ -4748,7 +4750,7 @@ HRESULT CDECL wined3d_device_delete_patch(struct wined3d_device *device, UINT ha
i
=
PATCHMAP_HASHFUNC
(
handle
);
LIST_FOR_EACH
(
e
,
&
device
->
patches
[
i
])
{
patch
=
LIST_ENTRY
(
e
,
struct
WineD3DRectP
atch
,
entry
);
patch
=
LIST_ENTRY
(
e
,
struct
wined3d_rect_p
atch
,
entry
);
if
(
patch
->
Handle
==
handle
)
{
TRACE
(
"Deleting patch %p
\n
"
,
patch
);
...
...
dlls/wined3d/drawprim.c
View file @
1ec21e32
...
...
@@ -788,7 +788,7 @@ static void normalize_normal(float *n) {
* responsible of taking care that either the gl states are restored, or the context activated
* for drawing to reset the lastWasBlit flag.
*/
HRESULT
tesselate_rectpatch
(
struct
wined3d_device
*
This
,
struct
WineD3DRectP
atch
*
patch
)
HRESULT
tesselate_rectpatch
(
struct
wined3d_device
*
This
,
struct
wined3d_rect_p
atch
*
patch
)
{
unsigned
int
i
,
j
,
num_quads
,
out_vertex_size
,
buffer_size
,
d3d_out_vertex_size
;
const
struct
wined3d_rect_patch_info
*
info
=
&
patch
->
rect_patch_info
;
...
...
dlls/wined3d/wined3d_private.h
View file @
1ec21e32
...
...
@@ -1577,7 +1577,7 @@ extern void add_gl_compat_wrappers(struct wined3d_gl_info *gl_info) DECLSPEC_HID
/*****************************************************************************
* High order patch management
*/
struct
WineD3DRectP
atch
struct
wined3d_rect_p
atch
{
UINT
Handle
;
float
*
mem
;
...
...
@@ -1588,7 +1588,7 @@ struct WineD3DRectPatch
struct
list
entry
;
};
HRESULT
tesselate_rectpatch
(
struct
wined3d_device
*
device
,
struct
WineD3DRectP
atch
*
patch
)
DECLSPEC_HIDDEN
;
HRESULT
tesselate_rectpatch
(
struct
wined3d_device
*
device
,
struct
wined3d_rect_p
atch
*
patch
)
DECLSPEC_HIDDEN
;
enum
projection_types
{
...
...
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