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
1f4cf351
Commit
1f4cf351
authored
Aug 19, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implement YUV emulation with GL_ARB_fragment_program.
parent
bfe70679
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+0
-0
directx.c
dlls/wined3d/directx.c
+5
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
No files found.
dlls/wined3d/arb_program_shader.c
View file @
1f4cf351
This diff is collapsed.
Click to expand it.
dlls/wined3d/directx.c
View file @
1f4cf351
...
...
@@ -2953,8 +2953,11 @@ static const struct blit_shader *select_blit_implementation(UINT Adapter, WINED3
int
ps_selected_mode
;
select_shader_mode
(
&
GLINFO_LOCATION
,
DeviceType
,
&
ps_selected_mode
,
&
vs_selected_mode
);
return
&
ffp_blit
;
if
((
ps_selected_mode
==
SHADER_ARB
||
ps_selected_mode
==
SHADER_GLSL
)
&&
GL_SUPPORT
(
ARB_FRAGMENT_PROGRAM
))
{
return
&
arbfp_blit
;
}
else
{
return
&
ffp_blit
;
}
}
/* Note: d3d8 passes in a pointer to a D3DCAPS8 structure, which is a true
...
...
dlls/wined3d/wined3d_private.h
View file @
1f4cf351
...
...
@@ -587,6 +587,7 @@ struct blit_shader {
};
extern
const
struct
blit_shader
ffp_blit
;
extern
const
struct
blit_shader
arbfp_blit
;
/* The new context manager that should deal with onscreen and offscreen rendering */
struct
WineD3DContext
{
...
...
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