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
62510642
Commit
62510642
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_shader_resource_view_gl to wined3d_gl.h.
parent
ec746586
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
24 deletions
+24
-24
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+23
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-24
No files found.
dlls/wined3d/wined3d_gl.h
View file @
62510642
...
...
@@ -1068,4 +1068,27 @@ HRESULT wined3d_rendertarget_view_gl_init(struct wined3d_rendertarget_view_gl *v
const
struct
wined3d_view_desc
*
desc
,
struct
wined3d_resource
*
resource
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
);
struct
wined3d_shader_resource_view_gl
{
struct
wined3d_shader_resource_view
v
;
struct
wined3d_bo_user
bo_user
;
struct
wined3d_gl_view
gl_view
;
};
static
inline
struct
wined3d_shader_resource_view_gl
*
wined3d_shader_resource_view_gl
(
struct
wined3d_shader_resource_view
*
view
)
{
return
CONTAINING_RECORD
(
view
,
struct
wined3d_shader_resource_view_gl
,
v
);
}
void
wined3d_shader_resource_view_gl_bind
(
struct
wined3d_shader_resource_view_gl
*
view_gl
,
unsigned
int
unit
,
struct
wined3d_sampler_gl
*
sampler_gl
,
struct
wined3d_context_gl
*
context_gl
);
void
wined3d_shader_resource_view_gl_generate_mipmap
(
struct
wined3d_shader_resource_view_gl
*
srv_gl
,
struct
wined3d_context_gl
*
context_gl
);
HRESULT
wined3d_shader_resource_view_gl_init
(
struct
wined3d_shader_resource_view_gl
*
view_gl
,
const
struct
wined3d_view_desc
*
desc
,
struct
wined3d_resource
*
resource
,
void
*
parent
,
const
struct
wined3d_parent_ops
*
parent_ops
);
void
wined3d_shader_resource_view_gl_update
(
struct
wined3d_shader_resource_view_gl
*
srv_gl
,
struct
wined3d_context_gl
*
context_gl
);
#endif
/* __WINE_WINED3D_GL */
dlls/wined3d/wined3d_private.h
View file @
62510642
...
...
@@ -3991,8 +3991,6 @@ 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
;
#include "wined3d_gl.h"
struct
wined3d_shader_resource_view
{
LONG
refcount
;
...
...
@@ -4008,28 +4006,7 @@ struct wined3d_shader_resource_view
void
wined3d_shader_resource_view_cleanup
(
struct
wined3d_shader_resource_view
*
view
)
DECLSPEC_HIDDEN
;
struct
wined3d_shader_resource_view_gl
{
struct
wined3d_shader_resource_view
v
;
struct
wined3d_bo_user
bo_user
;
struct
wined3d_gl_view
gl_view
;
};
static
inline
struct
wined3d_shader_resource_view_gl
*
wined3d_shader_resource_view_gl
(
struct
wined3d_shader_resource_view
*
view
)
{
return
CONTAINING_RECORD
(
view
,
struct
wined3d_shader_resource_view_gl
,
v
);
}
void
wined3d_shader_resource_view_gl_bind
(
struct
wined3d_shader_resource_view_gl
*
view_gl
,
unsigned
int
unit
,
struct
wined3d_sampler_gl
*
sampler_gl
,
struct
wined3d_context_gl
*
context_gl
)
DECLSPEC_HIDDEN
;
void
wined3d_shader_resource_view_gl_generate_mipmap
(
struct
wined3d_shader_resource_view_gl
*
srv_gl
,
struct
wined3d_context_gl
*
context_gl
)
DECLSPEC_HIDDEN
;
HRESULT
wined3d_shader_resource_view_gl_init
(
struct
wined3d_shader_resource_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
;
void
wined3d_shader_resource_view_gl_update
(
struct
wined3d_shader_resource_view_gl
*
srv_gl
,
struct
wined3d_context_gl
*
context_gl
)
DECLSPEC_HIDDEN
;
#include "wined3d_gl.h"
struct
wined3d_unordered_access_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