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
171fe51b
Commit
171fe51b
authored
Apr 19, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Don't use vulkan_private.h in loader_thunks.c.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
63291b15
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
20 deletions
+46
-20
loader_thunks.c
dlls/winevulkan/loader_thunks.c
+1
-1
make_vulkan
dlls/winevulkan/make_vulkan
+1
-1
vulkan_loader.h
dlls/winevulkan/vulkan_loader.h
+43
-0
vulkan_private.h
dlls/winevulkan/vulkan_private.h
+1
-18
No files found.
dlls/winevulkan/loader_thunks.c
View file @
171fe51b
...
...
@@ -9,7 +9,7 @@
*
*/
#include "vulkan_
private
.h"
#include "vulkan_
loader
.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
vulkan
);
...
...
dlls/winevulkan/make_vulkan
View file @
171fe51b
...
...
@@ -2501,7 +2501,7 @@ class VkGenerator(object):
def
generate_loader_thunks_c
(
self
,
f
,
prefix
):
self
.
_generate_copyright
(
f
)
f
.
write
(
"#include
\"
vulkan_
private
.h
\"\n\n
"
)
f
.
write
(
"#include
\"
vulkan_
loader
.h
\"\n\n
"
)
f
.
write
(
"WINE_DEFAULT_DEBUG_CHANNEL(vulkan);
\n\n
"
)
...
...
dlls/winevulkan/vulkan_loader.h
0 → 100644
View file @
171fe51b
/* Wine Vulkan ICD private data structures
*
* Copyright 2017 Roderick Colenbrander
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_VULKAN_LOADER_H
#define __WINE_VULKAN_LOADER_H
#include "wine/debug.h"
#define VK_NO_PROTOTYPES
#include "wine/vulkan.h"
#include "wine/vulkan_driver.h"
#include "loader_thunks.h"
struct
vulkan_func
{
const
char
*
name
;
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
;
extern
const
struct
unix_funcs
*
unix_funcs
;
#endif
/* __WINE_VULKAN_LOADER_H */
dlls/winevulkan/vulkan_private.h
View file @
171fe51b
...
...
@@ -27,14 +27,10 @@
#include <pthread.h>
#include "wine/debug.h"
#include "wine/list.h"
#define VK_NO_PROTOTYPES
#include "wine/vulkan.h"
#include "wine/vulkan_driver.h"
#include "vulkan_loader.h"
#include "vulkan_thunks.h"
#include "loader_thunks.h"
/* Magic value defined by Vulkan ICD / Loader spec */
#define VULKAN_ICD_MAGIC_VALUE 0x01CDC0DE
...
...
@@ -43,12 +39,6 @@
#define WINEVULKAN_QUIRK_ADJUST_MAX_IMAGE_COUNT 0x00000002
#define WINEVULKAN_QUIRK_IGNORE_EXPLICIT_LAYERS 0x00000004
struct
vulkan_func
{
const
char
*
name
;
void
*
func
;
};
/* Base 'class' for our Vulkan dispatchable objects such as VkDevice and VkInstance.
* This structure MUST be the first element of a dispatchable object as the ICD
* loader depends on it. For now only contains loader_magic, but over time more common
...
...
@@ -235,10 +225,6 @@ static inline VkSurfaceKHR wine_surface_to_handle(struct wine_surface *surface)
return
(
VkSurfaceKHR
)(
uintptr_t
)
surface
;
}
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
;
BOOL
wine_vk_device_extension_supported
(
const
char
*
name
)
DECLSPEC_HIDDEN
;
BOOL
wine_vk_instance_extension_supported
(
const
char
*
name
)
DECLSPEC_HIDDEN
;
...
...
@@ -246,8 +232,5 @@ BOOL wine_vk_is_type_wrapped(VkObjectType type) DECLSPEC_HIDDEN;
uint64_t
wine_vk_unwrap_handle
(
VkObjectType
type
,
uint64_t
handle
)
DECLSPEC_HIDDEN
;
extern
const
struct
unix_funcs
loader_funcs
;
extern
const
struct
unix_funcs
*
unix_funcs
;
const
struct
unix_funcs
*
unix_vk_init
(
const
struct
vulkan_funcs
*
driver
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_VULKAN_PRIVATE_H */
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