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
f58e55ec
Commit
f58e55ec
authored
Aug 22, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Move arbfp based color blits from IWineD3DSurfaceImpl_BltOverride() to…
wined3d: Move arbfp based color blits from IWineD3DSurfaceImpl_BltOverride() to wined3d_surface_blt().
parent
c592d553
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
surface.c
dlls/wined3d/surface.c
+10
-8
No files found.
dlls/wined3d/surface.c
View file @
f58e55ec
...
...
@@ -1682,6 +1682,16 @@ HRESULT CDECL wined3d_surface_blt(struct wined3d_surface *dst_surface, const REC
surface_modify_location
(
dst_surface
,
SFLAG_INDRAWABLE
,
TRUE
);
return
WINED3D_OK
;
}
if
(
arbfp_blit
.
blit_supported
(
&
device
->
adapter
->
gl_info
,
WINED3D_BLIT_OP_COLOR_BLIT
,
&
src_rect
,
src_surface
->
resource
.
usage
,
src_surface
->
resource
.
pool
,
src_surface
->
resource
.
format
,
&
dst_rect
,
dst_surface
->
resource
.
usage
,
dst_surface
->
resource
.
pool
,
dst_surface
->
resource
.
format
))
{
TRACE
(
"Using arbfp blit.
\n
"
);
if
(
SUCCEEDED
(
arbfp_blit_surface
(
device
,
filter
,
src_surface
,
&
src_rect
,
dst_surface
,
&
dst_rect
)))
return
WINED3D_OK
;
}
}
}
...
...
@@ -5504,14 +5514,6 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(struct wined3d_surface *dst_surfa
TRACE
(
"Blt from surface %p to rendertarget %p
\n
"
,
src_surface
,
dst_surface
);
if
(
!
(
flags
&
(
WINEDDBLT_KEYSRC
|
WINEDDBLT_KEYSRCOVERRIDE
))
&&
arbfp_blit
.
blit_supported
(
gl_info
,
WINED3D_BLIT_OP_COLOR_BLIT
,
src_rect
,
src_surface
->
resource
.
usage
,
src_surface
->
resource
.
pool
,
src_surface
->
resource
.
format
,
dst_rect
,
dst_surface
->
resource
.
usage
,
dst_surface
->
resource
.
pool
,
dst_surface
->
resource
.
format
))
return
arbfp_blit_surface
(
device
,
Filter
,
src_surface
,
src_rect
,
dst_surface
,
dst_rect
);
if
(
!
device
->
blitter
->
blit_supported
(
gl_info
,
WINED3D_BLIT_OP_COLOR_BLIT
,
src_rect
,
src_surface
->
resource
.
usage
,
src_surface
->
resource
.
pool
,
src_surface
->
resource
.
format
,
dst_rect
,
dst_surface
->
resource
.
usage
,
dst_surface
->
resource
.
pool
,
dst_surface
->
resource
.
format
))
...
...
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