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
267a154b
Commit
267a154b
authored
Mar 30, 2018
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add some traces to fbo_blitter_blit().
For easier debugging. Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e7af1ea3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
surface.c
dlls/wined3d/surface.c
+15
-3
No files found.
dlls/wined3d/surface.c
View file @
267a154b
...
...
@@ -2192,6 +2192,12 @@ static DWORD fbo_blitter_blit(struct wined3d_blitter *blitter, enum wined3d_blit
struct
wined3d_device
*
device
;
struct
wined3d_blitter
*
next
;
TRACE
(
"blitter %p, op %#x, context %p, src_texture %p, src_sub_resource_idx %u, src_location %s, src_rect %s, "
"dst_texture %p, dst_sub_resource_idx %u, dst_location %s, dst_rect %s, colour_key %p, filter %s.
\n
"
,
blitter
,
op
,
context
,
src_texture
,
src_sub_resource_idx
,
wined3d_debug_location
(
src_location
),
wine_dbgstr_rect
(
src_rect
),
dst_texture
,
dst_sub_resource_idx
,
wined3d_debug_location
(
dst_location
),
wine_dbgstr_rect
(
dst_rect
),
colour_key
,
debug_d3dtexturefiltertype
(
filter
));
src_resource
=
&
src_texture
->
resource
;
dst_resource
=
&
dst_texture
->
resource
;
...
...
@@ -2208,9 +2214,15 @@ static DWORD fbo_blitter_blit(struct wined3d_blitter *blitter, enum wined3d_blit
if
(
!
fbo_blitter_supported
(
blit_op
,
context
->
gl_info
,
src_resource
,
src_location
,
dst_resource
,
dst_location
))
{
if
((
next
=
blitter
->
next
))
return
next
->
ops
->
blitter_blit
(
next
,
op
,
context
,
src_texture
,
src_sub_resource_idx
,
src_location
,
src_rect
,
dst_texture
,
dst_sub_resource_idx
,
dst_location
,
dst_rect
,
colour_key
,
filter
);
if
(
!
(
next
=
blitter
->
next
))
{
ERR
(
"No blitter to handle blit op %#x.
\n
"
,
op
);
return
dst_location
;
}
TRACE
(
"Forwarding to blitter %p.
\n
"
,
next
);
return
next
->
ops
->
blitter_blit
(
next
,
op
,
context
,
src_texture
,
src_sub_resource_idx
,
src_location
,
src_rect
,
dst_texture
,
dst_sub_resource_idx
,
dst_location
,
dst_rect
,
colour_key
,
filter
);
}
if
(
blit_op
==
WINED3D_BLIT_OP_COLOR_BLIT
)
...
...
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