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
302996ef
Commit
302996ef
authored
Feb 02, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Introduce wined3d_texture_get_swapchain().
parent
52425464
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
texture.c
dlls/wined3d/texture.c
+5
-0
wined3d.spec
dlls/wined3d/wined3d.spec
+1
-0
wined3d.h
include/wine/wined3d.h
+1
-0
No files found.
dlls/wined3d/texture.c
View file @
302996ef
...
@@ -4313,6 +4313,11 @@ HRESULT CDECL wined3d_texture_update_overlay(struct wined3d_texture *texture, un
...
@@ -4313,6 +4313,11 @@ HRESULT CDECL wined3d_texture_update_overlay(struct wined3d_texture *texture, un
return
WINED3D_OK
;
return
WINED3D_OK
;
}
}
struct
wined3d_swapchain
*
CDECL
wined3d_texture_get_swapchain
(
struct
wined3d_texture
*
texture
)
{
return
texture
->
swapchain
;
}
void
*
CDECL
wined3d_texture_get_sub_resource_parent
(
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
)
void
*
CDECL
wined3d_texture_get_sub_resource_parent
(
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
)
{
{
TRACE
(
"texture %p, sub_resource_idx %u.
\n
"
,
texture
,
sub_resource_idx
);
TRACE
(
"texture %p, sub_resource_idx %u.
\n
"
,
texture
,
sub_resource_idx
);
...
...
dlls/wined3d/wined3d.spec
View file @
302996ef
...
@@ -301,6 +301,7 @@
...
@@ -301,6 +301,7 @@
@ cdecl wined3d_texture_get_resource(ptr)
@ cdecl wined3d_texture_get_resource(ptr)
@ cdecl wined3d_texture_get_sub_resource_desc(ptr long ptr)
@ cdecl wined3d_texture_get_sub_resource_desc(ptr long ptr)
@ cdecl wined3d_texture_get_sub_resource_parent(ptr long)
@ cdecl wined3d_texture_get_sub_resource_parent(ptr long)
@ cdecl wined3d_texture_get_swapchain(ptr)
@ cdecl wined3d_texture_incref(ptr)
@ cdecl wined3d_texture_incref(ptr)
@ cdecl wined3d_texture_release_dc(ptr long ptr)
@ cdecl wined3d_texture_release_dc(ptr long ptr)
@ cdecl wined3d_texture_set_color_key(ptr long ptr)
@ cdecl wined3d_texture_set_color_key(ptr long ptr)
...
...
include/wine/wined3d.h
View file @
302996ef
...
@@ -2857,6 +2857,7 @@ struct wined3d_resource * __cdecl wined3d_texture_get_resource(struct wined3d_te
...
@@ -2857,6 +2857,7 @@ struct wined3d_resource * __cdecl wined3d_texture_get_resource(struct wined3d_te
HRESULT
__cdecl
wined3d_texture_get_sub_resource_desc
(
const
struct
wined3d_texture
*
texture
,
HRESULT
__cdecl
wined3d_texture_get_sub_resource_desc
(
const
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
,
struct
wined3d_sub_resource_desc
*
desc
);
unsigned
int
sub_resource_idx
,
struct
wined3d_sub_resource_desc
*
desc
);
void
*
__cdecl
wined3d_texture_get_sub_resource_parent
(
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
);
void
*
__cdecl
wined3d_texture_get_sub_resource_parent
(
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
);
struct
wined3d_swapchain
*
__cdecl
wined3d_texture_get_swapchain
(
struct
wined3d_texture
*
texture
);
ULONG
__cdecl
wined3d_texture_incref
(
struct
wined3d_texture
*
texture
);
ULONG
__cdecl
wined3d_texture_incref
(
struct
wined3d_texture
*
texture
);
HRESULT
__cdecl
wined3d_texture_release_dc
(
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
,
HDC
dc
);
HRESULT
__cdecl
wined3d_texture_release_dc
(
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
,
HDC
dc
);
HRESULT
__cdecl
wined3d_texture_set_color_key
(
struct
wined3d_texture
*
texture
,
HRESULT
__cdecl
wined3d_texture_set_color_key
(
struct
wined3d_texture
*
texture
,
...
...
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