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
ec746586
Commit
ec746586
authored
Jan 06, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move struct wined3d_rendertarget_view_gl to wined3d_gl.h.
parent
b492199b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+16
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-17
No files found.
dlls/wined3d/wined3d_gl.h
View file @
ec746586
...
...
@@ -1052,4 +1052,20 @@ HRESULT wined3d_buffer_gl_init(struct wined3d_buffer_gl *buffer_gl, struct wined
const
struct
wined3d_buffer_desc
*
desc
,
const
struct
wined3d_sub_resource_data
*
data
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
);
struct
wined3d_rendertarget_view_gl
{
struct
wined3d_rendertarget_view
v
;
struct
wined3d_gl_view
gl_view
;
};
static
inline
struct
wined3d_rendertarget_view_gl
*
wined3d_rendertarget_view_gl
(
struct
wined3d_rendertarget_view
*
view
)
{
return
CONTAINING_RECORD
(
view
,
struct
wined3d_rendertarget_view_gl
,
v
);
}
HRESULT
wined3d_rendertarget_view_gl_init
(
struct
wined3d_rendertarget_view_gl
*
view_gl
,
const
struct
wined3d_view_desc
*
desc
,
struct
wined3d_resource
*
resource
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
);
#endif
/* __WINE_WINED3D_GL */
dlls/wined3d/wined3d_private.h
View file @
ec746586
...
...
@@ -3951,8 +3951,6 @@ HRESULT wined3d_buffer_no3d_init(struct wined3d_buffer *buffer_no3d, struct wine
const
struct
wined3d_buffer_desc
*
desc
,
const
struct
wined3d_sub_resource_data
*
data
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
#include "wined3d_gl.h"
struct
wined3d_rendertarget_view
{
LONG
refcount
;
...
...
@@ -3993,21 +3991,7 @@ HRESULT wined3d_rendertarget_view_no3d_init(struct wined3d_rendertarget_view *vi
const
struct
wined3d_view_desc
*
desc
,
struct
wined3d_resource
*
resource
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
struct
wined3d_rendertarget_view_gl
{
struct
wined3d_rendertarget_view
v
;
struct
wined3d_gl_view
gl_view
;
};
static
inline
struct
wined3d_rendertarget_view_gl
*
wined3d_rendertarget_view_gl
(
struct
wined3d_rendertarget_view
*
view
)
{
return
CONTAINING_RECORD
(
view
,
struct
wined3d_rendertarget_view_gl
,
v
);
}
HRESULT
wined3d_rendertarget_view_gl_init
(
struct
wined3d_rendertarget_view_gl
*
view_gl
,
const
struct
wined3d_view_desc
*
desc
,
struct
wined3d_resource
*
resource
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
)
DECLSPEC_HIDDEN
;
#include "wined3d_gl.h"
struct
wined3d_shader_resource_view
{
...
...
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