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
7999f40b
Commit
7999f40b
authored
Nov 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for win32u functions.
parent
1f769067
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
7 additions
and
13 deletions
+7
-13
make_opengl
dlls/opengl32/make_opengl
+0
-2
unix_private.h
dlls/opengl32/unix_private.h
+1
-0
Makefile.in
dlls/win32u/Makefile.in
+1
-1
font.c
dlls/win32u/font.c
+1
-1
make_vulkan
dlls/winevulkan/make_vulkan
+0
-2
vulkan.c
dlls/winevulkan/vulkan.c
+1
-0
ntgdi.h
include/ntgdi.h
+0
-0
ntuser.h
include/ntuser.h
+0
-0
gdi_driver.h
include/wine/gdi_driver.h
+3
-3
vulkan_driver.h
include/wine/vulkan_driver.h
+0
-2
wgl_driver.h
include/wine/wgl_driver.h
+0
-2
No files found.
dlls/opengl32/make_opengl
View file @
7999f40b
...
...
@@ -919,8 +919,6 @@ foreach (sort keys %norm_functions)
printf
HEADER
" \\\n USE_GL_FUNC(\%s)"
,
$_
;
}
print
HEADER
"\n\n"
;
print
HEADER
"extern const struct opengl_funcs *__wine_get_wgl_driver( HDC hdc, UINT version );\n\n"
;
print
HEADER
"#endif /* __WINE_WGL_DRIVER_H */\n"
;
close
HEADER
;
...
...
dlls/opengl32/unix_private.h
View file @
7999f40b
...
...
@@ -28,6 +28,7 @@
#include "winbase.h"
#include "winternl.h"
#include "wingdi.h"
#include "ntgdi.h"
#include "wine/wgl.h"
#include "wine/wgl_driver.h"
...
...
dlls/win32u/Makefile.in
View file @
7999f40b
EXTRADEFS
=
-D
WINGDIAPI
=
-DWINUSERAPI
=
EXTRADEFS
=
-D
_WIN32U_
MODULE
=
win32u.dll
UNIXLIB
=
win32u.so
IMPORTLIB
=
win32u
...
...
dlls/win32u/font.c
View file @
7999f40b
...
...
@@ -7073,7 +7073,7 @@ BOOL WINAPI NtGdiGetCharWidthInfo( HDC hdc, struct char_width_info *info )
/***********************************************************************
* DrawTextW (win32u.so)
*/
INT
WINAPI
D
ECLSPEC_HIDDEN
D
rawTextW
(
HDC
hdc
,
const
WCHAR
*
str
,
INT
count
,
RECT
*
rect
,
UINT
flags
)
INT
WINAPI
DrawTextW
(
HDC
hdc
,
const
WCHAR
*
str
,
INT
count
,
RECT
*
rect
,
UINT
flags
)
{
struct
draw_text_params
*
params
;
ULONG
ret_len
,
size
;
...
...
dlls/winevulkan/make_vulkan
View file @
7999f40b
...
...
@@ -3136,8 +3136,6 @@ class VkGenerator(object):
f
.
write
(
" VkSurfaceKHR (*p_wine_get_native_surface)(VkSurfaceKHR);
\n
"
)
f
.
write
(
"};
\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
"
)
f
.
write
(
" if (!name || name[0] != 'v' || name[1] != 'k') return NULL;
\n\n
"
)
...
...
dlls/winevulkan/vulkan.c
View file @
7999f40b
...
...
@@ -26,6 +26,7 @@
#include "vulkan_private.h"
#include "wine/vulkan_driver.h"
#include "ntgdi.h"
#include "ntuser.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
vulkan
);
...
...
include/ntgdi.h
View file @
7999f40b
This diff is collapsed.
Click to expand it.
include/ntuser.h
View file @
7999f40b
This diff is collapsed.
Click to expand it.
include/wine/gdi_driver.h
View file @
7999f40b
...
...
@@ -347,9 +347,9 @@ struct user_driver_funcs
void
(
*
pThreadDetach
)(
void
);
};
extern
void
__wine_set_user_driver
(
const
struct
user_driver_funcs
*
funcs
,
UINT
version
);
W32KAPI
void
__wine_set_user_driver
(
const
struct
user_driver_funcs
*
funcs
,
UINT
version
);
extern
BOOL
win32u_set_window_pixel_format
(
HWND
hwnd
,
int
format
,
BOOL
internal
);
extern
int
win32u_get_window_pixel_format
(
HWND
hwnd
);
W32KAPI
BOOL
win32u_set_window_pixel_format
(
HWND
hwnd
,
int
format
,
BOOL
internal
);
W32KAPI
int
win32u_get_window_pixel_format
(
HWND
hwnd
);
#endif
/* __WINE_WINE_GDI_DRIVER_H */
include/wine/vulkan_driver.h
View file @
7999f40b
...
...
@@ -46,8 +46,6 @@ struct vulkan_funcs
VkSurfaceKHR
(
*
p_wine_get_native_surface
)(
VkSurfaceKHR
);
};
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
)
{
...
...
include/wine/wgl_driver.h
View file @
7999f40b
...
...
@@ -3405,6 +3405,4 @@ struct opengl_funcs
USE_GL_FUNC(glVertexPointer) \
USE_GL_FUNC(glViewport)
extern
const
struct
opengl_funcs
*
__wine_get_wgl_driver
(
HDC
hdc
,
UINT
version
);
#endif
/* __WINE_WGL_DRIVER_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