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
39263558
Commit
39263558
authored
Apr 15, 2021
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make some functions static.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6ac02c0c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
adapter_gl.c
dlls/wined3d/adapter_gl.c
+2
-2
adapter_vk.c
dlls/wined3d/adapter_vk.c
+2
-2
directx.c
dlls/wined3d/directx.c
+3
-3
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-1
No files found.
dlls/wined3d/adapter_gl.c
View file @
39263558
...
...
@@ -4279,13 +4279,13 @@ static void adapter_gl_destroy_device(struct wined3d_device *device)
heap_free
(
device_gl
);
}
struct
wined3d_context
*
adapter_gl_acquire_context
(
struct
wined3d_device
*
device
,
st
atic
st
ruct
wined3d_context
*
adapter_gl_acquire_context
(
struct
wined3d_device
*
device
,
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
)
{
return
wined3d_context_gl_acquire
(
device
,
texture
,
sub_resource_idx
);
}
void
adapter_gl_release_context
(
struct
wined3d_context
*
context
)
static
void
adapter_gl_release_context
(
struct
wined3d_context
*
context
)
{
return
wined3d_context_gl_release
(
wined3d_context_gl
(
context
));
}
...
...
dlls/wined3d/adapter_vk.c
View file @
39263558
...
...
@@ -536,7 +536,7 @@ static void adapter_vk_destroy_device(struct wined3d_device *device)
heap_free
(
device_vk
);
}
struct
wined3d_context
*
adapter_vk_acquire_context
(
struct
wined3d_device
*
device
,
st
atic
st
ruct
wined3d_context
*
adapter_vk_acquire_context
(
struct
wined3d_device
*
device
,
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
)
{
TRACE
(
"device %p, texture %p, sub_resource_idx %u.
\n
"
,
device
,
texture
,
sub_resource_idx
);
...
...
@@ -549,7 +549,7 @@ struct wined3d_context *adapter_vk_acquire_context(struct wined3d_device *device
return
&
wined3d_device_vk
(
device
)
->
context_vk
.
c
;
}
void
adapter_vk_release_context
(
struct
wined3d_context
*
context
)
static
void
adapter_vk_release_context
(
struct
wined3d_context
*
context
)
{
TRACE
(
"context %p.
\n
"
,
context
);
}
...
...
dlls/wined3d/directx.c
View file @
39263558
...
...
@@ -2687,7 +2687,7 @@ static void adapter_no3d_destroy_device(struct wined3d_device *device)
heap_free
(
device
);
}
struct
wined3d_context
*
adapter_no3d_acquire_context
(
struct
wined3d_device
*
device
,
st
atic
st
ruct
wined3d_context
*
adapter_no3d_acquire_context
(
struct
wined3d_device
*
device
,
struct
wined3d_texture
*
texture
,
unsigned
int
sub_resource_idx
)
{
TRACE
(
"device %p, texture %p, sub_resource_idx %u.
\n
"
,
device
,
texture
,
sub_resource_idx
);
...
...
@@ -2700,7 +2700,7 @@ struct wined3d_context *adapter_no3d_acquire_context(struct wined3d_device *devi
return
&
wined3d_device_no3d
(
device
)
->
context_no3d
;
}
void
adapter_no3d_release_context
(
struct
wined3d_context
*
context
)
static
void
adapter_no3d_release_context
(
struct
wined3d_context
*
context
)
{
TRACE
(
"context %p.
\n
"
,
context
);
}
...
...
@@ -3044,7 +3044,7 @@ static void adapter_no3d_dispatch_compute(struct wined3d_device *device,
ERR
(
"device %p, state %p, parameters %p.
\n
"
,
device
,
state
,
parameters
);
}
void
adapter_no3d_clear_uav
(
struct
wined3d_context
*
context
,
static
void
adapter_no3d_clear_uav
(
struct
wined3d_context
*
context
,
struct
wined3d_unordered_access_view
*
view
,
const
struct
wined3d_uvec4
*
clear_value
)
{
ERR
(
"context %p, view %p, clear_value %s.
\n
"
,
context
,
view
,
debug_uvec4
(
clear_value
));
...
...
dlls/wined3d/glsl_shader.c
View file @
39263558
...
...
@@ -419,7 +419,7 @@ static void shader_glsl_add_version_declaration(struct wined3d_string_buffer *bu
shader_addline
(
buffer
,
"#version %u
\n
"
,
shader_glsl_get_version
(
gl_info
));
}
unsigned
int
shader_glsl_full_ffp_varyings
(
const
struct
wined3d_gl_info
*
gl_info
)
static
unsigned
int
shader_glsl_full_ffp_varyings
(
const
struct
wined3d_gl_info
*
gl_info
)
{
/* On core profile we have to also count diffuse and specular colours and
* the fog coordinate. */
...
...
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