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
45d271be
Commit
45d271be
authored
Dec 22, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move struct wined3d_adapter_vk to wined3d_vk.h.
parent
6698ec90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
30 deletions
+31
-30
wined3d_private.h
dlls/wined3d/wined3d_private.h
+5
-30
wined3d_vk.h
dlls/wined3d/wined3d_vk.h
+26
-0
No files found.
dlls/wined3d/wined3d_private.h
View file @
45d271be
...
@@ -2385,8 +2385,6 @@ void wined3d_context_gl_update_stream_sources(struct wined3d_context_gl *context
...
@@ -2385,8 +2385,6 @@ void wined3d_context_gl_update_stream_sources(struct wined3d_context_gl *context
const
struct
wined3d_state
*
state
)
DECLSPEC_HIDDEN
;
const
struct
wined3d_state
*
state
)
DECLSPEC_HIDDEN
;
void
wined3d_context_gl_wait_command_fence
(
struct
wined3d_context_gl
*
context_gl
,
uint64_t
id
)
DECLSPEC_HIDDEN
;
void
wined3d_context_gl_wait_command_fence
(
struct
wined3d_context_gl
*
context_gl
,
uint64_t
id
)
DECLSPEC_HIDDEN
;
#include "wined3d_vk.h"
typedef
void
(
*
APPLYSTATEFUNC
)(
struct
wined3d_context
*
ctx
,
const
struct
wined3d_state
*
state
,
DWORD
state_id
);
typedef
void
(
*
APPLYSTATEFUNC
)(
struct
wined3d_context
*
ctx
,
const
struct
wined3d_state
*
state
,
DWORD
state_id
);
struct
wined3d_state_entry
struct
wined3d_state_entry
...
@@ -3188,6 +3186,9 @@ BOOL wined3d_adapter_init(struct wined3d_adapter *adapter, unsigned int ordinal,
...
@@ -3188,6 +3186,9 @@ BOOL wined3d_adapter_init(struct wined3d_adapter *adapter, unsigned int ordinal,
void
wined3d_adapter_cleanup
(
struct
wined3d_adapter
*
adapter
)
DECLSPEC_HIDDEN
;
void
wined3d_adapter_cleanup
(
struct
wined3d_adapter
*
adapter
)
DECLSPEC_HIDDEN
;
BOOL
wined3d_get_primary_adapter_luid
(
LUID
*
luid
)
DECLSPEC_HIDDEN
;
BOOL
wined3d_get_primary_adapter_luid
(
LUID
*
luid
)
DECLSPEC_HIDDEN
;
struct
wined3d_adapter
*
wined3d_adapter_vk_create
(
unsigned
int
ordinal
,
unsigned
int
wined3d_creation_flags
)
DECLSPEC_HIDDEN
;
struct
wined3d_adapter_gl
struct
wined3d_adapter_gl
{
{
struct
wined3d_adapter
a
;
struct
wined3d_adapter
a
;
...
@@ -3209,32 +3210,6 @@ static inline const struct wined3d_adapter_gl *wined3d_adapter_gl_const(const st
...
@@ -3209,32 +3210,6 @@ static inline const struct wined3d_adapter_gl *wined3d_adapter_gl_const(const st
struct
wined3d_adapter
*
wined3d_adapter_gl_create
(
unsigned
int
ordinal
,
struct
wined3d_adapter
*
wined3d_adapter_gl_create
(
unsigned
int
ordinal
,
unsigned
int
wined3d_creation_flags
)
DECLSPEC_HIDDEN
;
unsigned
int
wined3d_creation_flags
)
DECLSPEC_HIDDEN
;
struct
wined3d_adapter_vk
{
struct
wined3d_adapter
a
;
struct
wined3d_vk_info
vk_info
;
unsigned
int
device_extension_count
;
const
char
**
device_extensions
;
VkPhysicalDevice
physical_device
;
VkPhysicalDeviceLimits
device_limits
;
VkPhysicalDeviceMemoryProperties
memory_properties
;
};
static
inline
struct
wined3d_adapter_vk
*
wined3d_adapter_vk
(
struct
wined3d_adapter
*
adapter
)
{
return
CONTAINING_RECORD
(
adapter
,
struct
wined3d_adapter_vk
,
a
);
}
struct
wined3d_adapter
*
wined3d_adapter_vk_create
(
unsigned
int
ordinal
,
unsigned
int
wined3d_creation_flags
)
DECLSPEC_HIDDEN
;
unsigned
int
wined3d_adapter_vk_get_memory_type_index
(
const
struct
wined3d_adapter_vk
*
adapter_vk
,
uint32_t
memory_type_mask
,
VkMemoryPropertyFlags
flags
)
DECLSPEC_HIDDEN
;
void
adapter_vk_copy_bo_address
(
struct
wined3d_context
*
context
,
const
struct
wined3d_bo_address
*
dst
,
const
struct
wined3d_bo_address
*
src
,
unsigned
int
range_count
,
const
struct
wined3d_range
*
ranges
)
DECLSPEC_HIDDEN
;
struct
wined3d_caps_gl_ctx
struct
wined3d_caps_gl_ctx
{
{
HDC
dc
;
HDC
dc
;
...
@@ -3254,8 +3229,6 @@ struct wined3d_caps_gl_ctx
...
@@ -3254,8 +3229,6 @@ struct wined3d_caps_gl_ctx
BOOL
wined3d_adapter_gl_init_format_info
(
struct
wined3d_adapter
*
adapter
,
BOOL
wined3d_adapter_gl_init_format_info
(
struct
wined3d_adapter
*
adapter
,
struct
wined3d_caps_gl_ctx
*
ctx
)
DECLSPEC_HIDDEN
;
struct
wined3d_caps_gl_ctx
*
ctx
)
DECLSPEC_HIDDEN
;
BOOL
wined3d_adapter_no3d_init_format_info
(
struct
wined3d_adapter
*
adapter
)
DECLSPEC_HIDDEN
;
BOOL
wined3d_adapter_no3d_init_format_info
(
struct
wined3d_adapter
*
adapter
)
DECLSPEC_HIDDEN
;
BOOL
wined3d_adapter_vk_init_format_info
(
struct
wined3d_adapter_vk
*
adapter_vk
,
const
struct
wined3d_vk_info
*
vk_info
)
DECLSPEC_HIDDEN
;
ssize_t
adapter_adjust_mapped_memory
(
struct
wined3d_adapter
*
adapter
,
ssize_t
size
)
DECLSPEC_HIDDEN
;
ssize_t
adapter_adjust_mapped_memory
(
struct
wined3d_adapter
*
adapter
,
ssize_t
size
)
DECLSPEC_HIDDEN
;
UINT64
adapter_adjust_memory
(
struct
wined3d_adapter
*
adapter
,
INT64
amount
)
DECLSPEC_HIDDEN
;
UINT64
adapter_adjust_memory
(
struct
wined3d_adapter
*
adapter
,
INT64
amount
)
DECLSPEC_HIDDEN
;
...
@@ -3673,6 +3646,8 @@ static inline struct wined3d_device_no3d *wined3d_device_no3d(struct wined3d_dev
...
@@ -3673,6 +3646,8 @@ static inline struct wined3d_device_no3d *wined3d_device_no3d(struct wined3d_dev
return
CONTAINING_RECORD
(
device
,
struct
wined3d_device_no3d
,
d
);
return
CONTAINING_RECORD
(
device
,
struct
wined3d_device_no3d
,
d
);
}
}
#include "wined3d_vk.h"
struct
wined3d_null_resources_vk
struct
wined3d_null_resources_vk
{
{
struct
wined3d_bo_vk
bo
;
struct
wined3d_bo_vk
bo
;
...
...
dlls/wined3d/wined3d_vk.h
View file @
45d271be
...
@@ -664,4 +664,30 @@ void wined3d_context_vk_wait_command_buffer(struct wined3d_context_vk *context_v
...
@@ -664,4 +664,30 @@ void wined3d_context_vk_wait_command_buffer(struct wined3d_context_vk *context_v
VkDescriptorSet
wined3d_context_vk_create_vk_descriptor_set
(
struct
wined3d_context_vk
*
context_vk
,
VkDescriptorSet
wined3d_context_vk_create_vk_descriptor_set
(
struct
wined3d_context_vk
*
context_vk
,
VkDescriptorSetLayout
vk_set_layout
)
DECLSPEC_HIDDEN
;
VkDescriptorSetLayout
vk_set_layout
)
DECLSPEC_HIDDEN
;
struct
wined3d_adapter_vk
{
struct
wined3d_adapter
a
;
struct
wined3d_vk_info
vk_info
;
unsigned
int
device_extension_count
;
const
char
**
device_extensions
;
VkPhysicalDevice
physical_device
;
VkPhysicalDeviceLimits
device_limits
;
VkPhysicalDeviceMemoryProperties
memory_properties
;
};
static
inline
struct
wined3d_adapter_vk
*
wined3d_adapter_vk
(
struct
wined3d_adapter
*
adapter
)
{
return
CONTAINING_RECORD
(
adapter
,
struct
wined3d_adapter_vk
,
a
);
}
void
adapter_vk_copy_bo_address
(
struct
wined3d_context
*
context
,
const
struct
wined3d_bo_address
*
dst
,
const
struct
wined3d_bo_address
*
src
,
unsigned
int
range_count
,
const
struct
wined3d_range
*
ranges
)
DECLSPEC_HIDDEN
;
unsigned
int
wined3d_adapter_vk_get_memory_type_index
(
const
struct
wined3d_adapter_vk
*
adapter_vk
,
uint32_t
memory_type_mask
,
VkMemoryPropertyFlags
flags
)
DECLSPEC_HIDDEN
;
BOOL
wined3d_adapter_vk_init_format_info
(
struct
wined3d_adapter_vk
*
adapter_vk
,
const
struct
wined3d_vk_info
*
vk_info
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_WINED3D_VK */
#endif
/* __WINE_WINED3D_VK */
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