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
460e35aa
Commit
460e35aa
authored
Nov 14, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Mark a VMware failure broken.
parent
7868be6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
15 deletions
+20
-15
overlay.c
dlls/ddraw/tests/overlay.c
+20
-15
No files found.
dlls/ddraw/tests/overlay.c
View file @
460e35aa
...
...
@@ -263,22 +263,27 @@ static void yv12_test(void)
}
hr
=
IDirectDrawSurface7_Blt
(
dst
,
NULL
,
surface
,
NULL
,
0
,
NULL
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface7_Blt returned 0x%08x, expected DD_OK
\n
"
,
hr
);
memset
(
&
desc
,
0
,
sizeof
(
desc
));
desc
.
dwSize
=
sizeof
(
desc
);
hr
=
IDirectDrawSurface7_Lock
(
dst
,
NULL
,
&
desc
,
0
,
NULL
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface7_Lock returned 0x%08x, expected DD_OK
\n
"
,
hr
);
base
=
desc
.
lpSurface
;
ok
(
base
[
0
]
==
0x10
,
"Y data is 0x%02x, expected 0x10
\n
"
,
base
[
0
]);
base
+=
desc
.
dwHeight
*
desc
.
lPitch
;
todo_wine
ok
(
base
[
0
]
==
0x20
,
"V data is 0x%02x, expected 0x20
\n
"
,
base
[
0
]);
base
+=
desc
.
dwHeight
/
4
*
desc
.
lPitch
;
todo_wine
ok
(
base
[
0
]
==
0x30
,
"U data is 0x%02x, expected 0x30
\n
"
,
base
[
0
]);
/* VMware rejects YV12 blits. This behavior has not been seen on real hardware yet, so mark it broken */
ok
(
hr
==
DD_OK
||
broken
(
hr
==
E_NOTIMPL
),
"IDirectDrawSurface7_Blt returned 0x%08x, expected DD_OK
\n
"
,
hr
);
hr
=
IDirectDrawSurface7_Unlock
(
dst
,
NULL
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface7_Unlock returned 0x%08x, expected DD_OK
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
memset
(
&
desc
,
0
,
sizeof
(
desc
));
desc
.
dwSize
=
sizeof
(
desc
);
hr
=
IDirectDrawSurface7_Lock
(
dst
,
NULL
,
&
desc
,
0
,
NULL
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface7_Lock returned 0x%08x, expected DD_OK
\n
"
,
hr
);
base
=
desc
.
lpSurface
;
ok
(
base
[
0
]
==
0x10
,
"Y data is 0x%02x, expected 0x10
\n
"
,
base
[
0
]);
base
+=
desc
.
dwHeight
*
desc
.
lPitch
;
todo_wine
ok
(
base
[
0
]
==
0x20
,
"V data is 0x%02x, expected 0x20
\n
"
,
base
[
0
]);
base
+=
desc
.
dwHeight
/
4
*
desc
.
lPitch
;
todo_wine
ok
(
base
[
0
]
==
0x30
,
"U data is 0x%02x, expected 0x30
\n
"
,
base
[
0
]);
hr
=
IDirectDrawSurface7_Unlock
(
dst
,
NULL
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface7_Unlock returned 0x%08x, expected DD_OK
\n
"
,
hr
);
}
IDirectDrawSurface7_Release
(
dst
);
cleanup:
...
...
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