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
68bb2f62
Commit
68bb2f62
authored
Jul 25, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Remove __wine_get_vulkan_driver PE entry point.
parent
bb94ec19
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
21 deletions
+10
-21
gdiobj.c
dlls/win32u/gdiobj.c
+0
-1
vulkan.c
dlls/win32u/vulkan.c
+5
-3
win32u.spec
dlls/win32u/win32u.spec
+0
-3
win32u_private.h
dlls/win32u/win32u_private.h
+0
-1
wrappers.c
dlls/win32u/wrappers.c
+0
-6
make_vulkan
dlls/winevulkan/make_vulkan
+2
-2
vulkan.c
dlls/winevulkan/vulkan.c
+1
-1
vulkan_loader.h
dlls/winevulkan/vulkan_loader.h
+0
-1
gdi_driver.h
include/wine/gdi_driver.h
+0
-1
vulkan_driver.h
include/wine/vulkan_driver.h
+2
-2
No files found.
dlls/win32u/gdiobj.c
View file @
68bb2f62
...
...
@@ -1149,7 +1149,6 @@ static struct unix_funcs unix_funcs =
__wine_get_brush_bitmap_info
,
__wine_get_file_outline_text_metric
,
__wine_get_icm_profile
,
__wine_get_vulkan_driver
,
__wine_get_wgl_driver
,
__wine_send_input
,
};
...
...
dlls/win32u/vulkan.c
View file @
68bb2f62
...
...
@@ -22,12 +22,14 @@
#pragma makedep unix
#endif
#include "ntgdi_private.h"
#include "win32u_private.h"
#include "wine/vulkan.h"
#include "wine/vulkan_driver.h"
/***********************************************************************
* __wine_get_vulkan_driver (win32u.
@
)
* __wine_get_vulkan_driver (win32u.
so
)
*/
const
struct
vulkan_funcs
*
CDECL
__wine_get_vulkan_driver
(
UINT
version
)
const
struct
vulkan_funcs
*
__wine_get_vulkan_driver
(
UINT
version
)
{
return
user_driver
->
pwine_get_vulkan_driver
(
version
);
}
dlls/win32u/win32u.spec
View file @
68bb2f62
...
...
@@ -1326,9 +1326,6 @@
# OpenGL
@ cdecl __wine_get_wgl_driver(long long)
# Vulkan
@ cdecl __wine_get_vulkan_driver(long)
# gdi32
@ stdcall SetDIBits(long long long long ptr ptr long)
@ cdecl __wine_get_brush_bitmap_info(long ptr ptr ptr)
...
...
dlls/win32u/win32u_private.h
View file @
68bb2f62
...
...
@@ -207,7 +207,6 @@ struct unix_funcs
BOOL
(
CDECL
*
get_brush_bitmap_info
)(
HBRUSH
handle
,
BITMAPINFO
*
info
,
void
*
bits
,
UINT
*
usage
);
BOOL
(
CDECL
*
get_file_outline_text_metric
)(
const
WCHAR
*
path
,
OUTLINETEXTMETRICW
*
otm
);
BOOL
(
CDECL
*
get_icm_profile
)(
HDC
hdc
,
BOOL
allow_default
,
DWORD
*
size
,
WCHAR
*
filename
);
const
struct
vulkan_funcs
*
(
CDECL
*
get_vulkan_driver
)(
UINT
version
);
struct
opengl_funcs
*
(
CDECL
*
get_wgl_driver
)(
HDC
hdc
,
UINT
version
);
BOOL
(
CDECL
*
wine_send_input
)(
HWND
hwnd
,
const
INPUT
*
input
,
const
RAWINPUT
*
rawinput
);
};
...
...
dlls/win32u/wrappers.c
View file @
68bb2f62
...
...
@@ -798,12 +798,6 @@ BOOL CDECL __wine_get_file_outline_text_metric( const WCHAR *path, OUTLINETEXTME
return
unix_funcs
->
get_file_outline_text_metric
(
path
,
otm
);
}
const
struct
vulkan_funcs
*
CDECL
__wine_get_vulkan_driver
(
UINT
version
)
{
if
(
!
unix_funcs
)
return
NULL
;
return
unix_funcs
->
get_vulkan_driver
(
version
);
}
struct
opengl_funcs
*
CDECL
__wine_get_wgl_driver
(
HDC
hdc
,
UINT
version
)
{
if
(
!
unix_funcs
)
return
NULL
;
...
...
dlls/winevulkan/make_vulkan
View file @
68bb2f62
...
...
@@ -156,7 +156,7 @@ DIRECT_CALL_FUNCTIONS = [
# Functions part of our winevulkan graphics driver interface.
# DRIVER_VERSION should be bumped on any change to driver interface
# in FUNCTION_OVERRIDES
DRIVER_VERSION
=
1
0
DRIVER_VERSION
=
1
1
class
ThunkType
(
Enum
):
NONE
=
1
...
...
@@ -3202,7 +3202,7 @@ class VkGenerator(object):
f
.
write
(
" VkSurfaceKHR (*p_wine_get_native_surface)(VkSurfaceKHR);
\n
"
)
f
.
write
(
"};
\n\n
"
)
f
.
write
(
"extern const struct vulkan_funcs *
CDECL
__wine_get_vulkan_driver(UINT version);
\n\n
"
)
f
.
write
(
"extern const struct vulkan_funcs * __wine_get_vulkan_driver(UINT version);
\n\n
"
)
f
.
write
(
"static inline void *get_vulkan_driver_device_proc_addr(
\n
"
)
f
.
write
(
" const struct vulkan_funcs *vulkan_funcs, const char *name)
\n
{
\n
"
)
...
...
dlls/winevulkan/vulkan.c
View file @
68bb2f62
...
...
@@ -26,7 +26,7 @@
#include <stdlib.h>
#include "vulkan_private.h"
#include "win
reg
.h"
#include "win
e/vulkan_driver
.h"
#include "ntuser.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
vulkan
);
...
...
dlls/winevulkan/vulkan_loader.h
View file @
68bb2f62
...
...
@@ -28,7 +28,6 @@
#include "winternl.h"
#include "wine/debug.h"
#include "wine/vulkan.h"
#include "wine/vulkan_driver.h"
#include "wine/unixlib.h"
#include "loader_thunks.h"
...
...
include/wine/gdi_driver.h
View file @
68bb2f62
...
...
@@ -339,6 +339,5 @@ extern void __wine_set_user_driver( const struct user_driver_funcs *funcs, UINT
#endif
/* WINE_UNIX_LIB */
extern
struct
opengl_funcs
*
CDECL
__wine_get_wgl_driver
(
HDC
hdc
,
UINT
version
);
extern
const
struct
vulkan_funcs
*
CDECL
__wine_get_vulkan_driver
(
UINT
version
);
#endif
/* __WINE_WINE_GDI_DRIVER_H */
include/wine/vulkan_driver.h
View file @
68bb2f62
...
...
@@ -13,7 +13,7 @@
#define __WINE_VULKAN_DRIVER_H
/* Wine internal vulkan driver version, needs to be bumped upon vulkan_funcs changes. */
#define WINE_VULKAN_DRIVER_VERSION 1
0
#define WINE_VULKAN_DRIVER_VERSION 1
1
struct
vulkan_funcs
{
...
...
@@ -46,7 +46,7 @@ struct vulkan_funcs
VkSurfaceKHR
(
*
p_wine_get_native_surface
)(
VkSurfaceKHR
);
};
extern
const
struct
vulkan_funcs
*
CDECL
__wine_get_vulkan_driver
(
UINT
version
);
extern
const
struct
vulkan_funcs
*
__wine_get_vulkan_driver
(
UINT
version
);
static
inline
void
*
get_vulkan_driver_device_proc_addr
(
const
struct
vulkan_funcs
*
vulkan_funcs
,
const
char
*
name
)
...
...
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