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
0b63da6a
Commit
0b63da6a
authored
Nov 10, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Remove DECLSPEC_HIDDEN usage.
parent
6ecd967d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
18 deletions
+13
-18
make_vulkan
dlls/winevulkan/make_vulkan
+2
-7
vulkan_loader.h
dlls/winevulkan/vulkan_loader.h
+3
-3
vulkan_private.h
dlls/winevulkan/vulkan_private.h
+8
-8
vulkan_thunks.h
dlls/winevulkan/vulkan_thunks.h
+0
-0
No files found.
dlls/winevulkan/make_vulkan
View file @
0b63da6a
...
...
@@ -733,13 +733,12 @@ class VkFunction(object):
pfn
+=
")"
return
pfn
def
prototype
(
self
,
call_conv
=
None
,
prefix
=
None
,
postfix
=
None
,
is_thunk
=
False
):
def
prototype
(
self
,
call_conv
=
None
,
prefix
=
None
,
is_thunk
=
False
):
""" Generate prototype for given function.
Args:
call_conv (str, optional): calling convention e.g. WINAPI
prefix (str, optional): prefix to append prior to function name e.g. vkFoo -> wine_vkFoo
postfix (str, optional): text to append after function name but prior to semicolon e.g. DECLSPEC_HIDDEN
"""
proto
=
"{0}"
.
format
(
self
.
type
)
...
...
@@ -758,11 +757,7 @@ class VkFunction(object):
if
is_thunk
and
self
.
extra_param
:
proto
+=
", void *"
+
self
.
extra_param
if
postfix
is
not
None
:
proto
+=
") {0}"
.
format
(
postfix
)
else
:
proto
+=
")"
return
proto
def
loader_body
(
self
):
...
...
@@ -2827,7 +2822,7 @@ class VkGenerator(object):
if
not
vk_func
.
needs_private_thunk
():
continue
f
.
write
(
"{0};
\n
"
.
format
(
vk_func
.
prototype
(
prefix
=
prefix
,
postfix
=
"DECLSPEC_HIDDEN"
,
is_thunk
=
True
)))
f
.
write
(
"{0};
\n
"
.
format
(
vk_func
.
prototype
(
prefix
=
prefix
,
is_thunk
=
True
)))
f
.
write
(
"
\n
"
)
f
.
write
(
"/* For use by vkDevice and children */
\n
"
)
...
...
dlls/winevulkan/vulkan_loader.h
View file @
0b63da6a
...
...
@@ -103,9 +103,9 @@ struct vulkan_func
void
*
func
;
};
void
*
wine_vk_get_device_proc_addr
(
const
char
*
name
)
DECLSPEC_HIDDEN
;
void
*
wine_vk_get_phys_dev_proc_addr
(
const
char
*
name
)
DECLSPEC_HIDDEN
;
void
*
wine_vk_get_instance_proc_addr
(
const
char
*
name
)
DECLSPEC_HIDDEN
;
void
*
wine_vk_get_device_proc_addr
(
const
char
*
name
);
void
*
wine_vk_get_phys_dev_proc_addr
(
const
char
*
name
);
void
*
wine_vk_get_instance_proc_addr
(
const
char
*
name
);
/* debug callbacks params */
...
...
dlls/winevulkan/vulkan_private.h
View file @
0b63da6a
...
...
@@ -237,17 +237,17 @@ static inline VkSurfaceKHR wine_surface_to_handle(struct wine_surface *surface)
return
(
VkSurfaceKHR
)(
uintptr_t
)
surface
;
}
BOOL
wine_vk_device_extension_supported
(
const
char
*
name
)
DECLSPEC_HIDDEN
;
BOOL
wine_vk_instance_extension_supported
(
const
char
*
name
)
DECLSPEC_HIDDEN
;
BOOL
wine_vk_device_extension_supported
(
const
char
*
name
);
BOOL
wine_vk_instance_extension_supported
(
const
char
*
name
);
BOOL
wine_vk_is_type_wrapped
(
VkObjectType
type
)
DECLSPEC_HIDDEN
;
BOOL
wine_vk_is_type_wrapped
(
VkObjectType
type
);
NTSTATUS
init_vulkan
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
init_vulkan
(
void
*
args
);
NTSTATUS
vk_is_available_instance_function
(
void
*
arg
)
DECLSPEC_HIDDEN
;
NTSTATUS
vk_is_available_device_function
(
void
*
arg
)
DECLSPEC_HIDDEN
;
NTSTATUS
vk_is_available_instance_function32
(
void
*
arg
)
DECLSPEC_HIDDEN
;
NTSTATUS
vk_is_available_device_function32
(
void
*
arg
)
DECLSPEC_HIDDEN
;
NTSTATUS
vk_is_available_instance_function
(
void
*
arg
);
NTSTATUS
vk_is_available_device_function
(
void
*
arg
);
NTSTATUS
vk_is_available_instance_function32
(
void
*
arg
);
NTSTATUS
vk_is_available_device_function32
(
void
*
arg
);
struct
conversion_context
{
...
...
dlls/winevulkan/vulkan_thunks.h
View file @
0b63da6a
This diff is collapsed.
Click to expand it.
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