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
86b0c6bd
Commit
86b0c6bd
authored
May 04, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
May 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename "shader_backend_t" to "wined3d_shader_backend_ops".
This makes it more consistent with the other call table names in wined3d.
parent
a4b032fd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
11 deletions
+15
-11
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-1
directx.c
dlls/wined3d/directx.c
+1
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+2
-1
shader.c
dlls/wined3d/shader.c
+2
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+8
-7
No files found.
dlls/wined3d/arb_program_shader.c
View file @
86b0c6bd
...
...
@@ -5465,7 +5465,8 @@ static void shader_arb_handle_instruction(const struct wined3d_shader_instructio
shader_arb_add_instruction_modifiers
(
ins
);
}
const
shader_backend_t
arb_program_shader_backend
=
{
const
struct
wined3d_shader_backend_ops
arb_program_shader_backend
=
{
shader_arb_handle_instruction
,
shader_arb_select
,
shader_arb_select_depth_blt
,
...
...
dlls/wined3d/directx.c
View file @
86b0c6bd
...
...
@@ -2071,7 +2071,7 @@ static const struct fragment_pipeline *select_fragment_implementation(struct win
else
return
&
ffp_fragment_pipeline
;
}
static
const
s
hader_backend_t
*
select_shader_backend
(
struct
wined3d_adapter
*
adapter
)
static
const
s
truct
wined3d_shader_backend_ops
*
select_shader_backend
(
struct
wined3d_adapter
*
adapter
)
{
int
vs_selected_mode
,
ps_selected_mode
;
...
...
dlls/wined3d/glsl_shader.c
View file @
86b0c6bd
...
...
@@ -5119,7 +5119,8 @@ static void shader_glsl_handle_instruction(const struct wined3d_shader_instructi
shader_glsl_add_instruction_modifiers
(
ins
);
}
const
shader_backend_t
glsl_shader_backend
=
{
const
struct
wined3d_shader_backend_ops
glsl_shader_backend
=
{
shader_glsl_handle_instruction
,
shader_glsl_select
,
shader_glsl_select_depth_blt
,
...
...
dlls/wined3d/shader.c
View file @
86b0c6bd
...
...
@@ -1528,7 +1528,8 @@ static BOOL shader_none_color_fixup_supported(struct color_fixup_desc fixup)
return
FALSE
;
}
const
shader_backend_t
none_shader_backend
=
{
const
struct
wined3d_shader_backend_ops
none_shader_backend
=
{
shader_none_handle_instruction
,
shader_none_select
,
shader_none_select_depth_blt
,
...
...
dlls/wined3d/wined3d_private.h
View file @
86b0c6bd
...
...
@@ -742,7 +742,8 @@ struct vs_compile_args {
struct
wined3d_context
;
struct
wined3d_state
;
typedef
struct
{
struct
wined3d_shader_backend_ops
{
void
(
*
shader_handle_instruction
)(
const
struct
wined3d_shader_instruction
*
);
void
(
*
shader_select
)(
const
struct
wined3d_context
*
context
,
BOOL
usePS
,
BOOL
useVS
);
void
(
*
shader_select_depth_blt
)(
void
*
shader_priv
,
const
struct
wined3d_gl_info
*
gl_info
,
...
...
@@ -759,11 +760,11 @@ typedef struct {
BOOL
(
*
shader_dirtifyable_constants
)(
void
);
void
(
*
shader_get_caps
)(
const
struct
wined3d_gl_info
*
gl_info
,
struct
shader_caps
*
caps
);
BOOL
(
*
shader_color_fixup_supported
)(
struct
color_fixup_desc
fixup
);
}
shader_backend_t
;
};
extern
const
s
hader_backend_t
glsl_shader_backend
DECLSPEC_HIDDEN
;
extern
const
s
hader_backend_t
arb_program_shader_backend
DECLSPEC_HIDDEN
;
extern
const
s
hader_backend_t
none_shader_backend
DECLSPEC_HIDDEN
;
extern
const
s
truct
wined3d_shader_backend_ops
glsl_shader_backend
DECLSPEC_HIDDEN
;
extern
const
s
truct
wined3d_shader_backend_ops
arb_program_shader_backend
DECLSPEC_HIDDEN
;
extern
const
s
truct
wined3d_shader_backend_ops
none_shader_backend
DECLSPEC_HIDDEN
;
/* X11 locking */
...
...
@@ -1532,7 +1533,7 @@ struct wined3d_adapter
LUID
luid
;
const
struct
fragment_pipeline
*
fragment_pipe
;
const
s
hader_backend_t
*
shader_backend
;
const
s
truct
wined3d_shader_backend_ops
*
shader_backend
;
const
struct
blit_shader
*
blitter
;
};
...
...
@@ -1659,7 +1660,7 @@ struct IWineD3DDeviceImpl
/* Selected capabilities */
int
vs_selected_mode
;
int
ps_selected_mode
;
const
s
hader_backend_t
*
shader_backend
;
const
s
truct
wined3d_shader_backend_ops
*
shader_backend
;
void
*
shader_priv
;
void
*
fragment_priv
;
void
*
blit_priv
;
...
...
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