Module: wine
Branch: master
Commit: 93ec41fd9a9a56e8c60b57e5c0f1fa6a1767cdd3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=93ec41fd9a9a56e8c60b57e5c…
Author: H. Verbeet <hverbeet(a)gmail.com>
Date: Tue Oct 10 19:53:42 2006 +0200
d3d9: Disable the surface pitch size test for now, just check alignment instead.
---
dlls/d3d9/tests/surface.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d9/tests/surface.c b/dlls/d3d9/tests/surface.c
index 95e7311..b7a16a2 100644
--- a/dlls/d3d9/tests/surface.c
+++ b/dlls/d3d9/tests/surface.c
@@ -127,8 +127,13 @@ static void test_surface_alignment(IDire
D3DLOCKED_RECT lockedRect;
hr = IDirect3DSurface9_LockRect(surface_ptr, &lockedRect, NULL, 0);
ok(hr == D3D_OK, "IDirect3DSurface9_LockRect returned %08x\n", hr);
- /* test is deactivated until out np2 support doesn't report the full power of 2 pitch to the app */
- todo_wine ok(lockedRect.Pitch == 12, "Got pitch %d, expected 12\n", lockedRect.Pitch);
+ ok(!(lockedRect.Pitch & 3), "Surface pitch %d is not 32-bit aligned\n", lockedRect.Pitch);
+#if 0
+ /* Some applications also depend on the exact pitch, rather than just
+ * the alignment. However, this test will fail or succeed depending
+ * on the NP2 mode we're using. */
+ ok(lockedRect.Pitch == 12, "Got pitch %d, expected 12\n", lockedRect.Pitch);
+#endif
hr = IDirect3DSurface9_UnlockRect(surface_ptr);
IDirect3DSurface9_Release(surface_ptr);
}
ChangeSet ID: 28815
CVSROOT: /opt/cvs-commit
Module name: lostwages
Changes by: jnewman(a)winehq.org 2006/10/10 15:06:19
Modified files:
wwn : wn20040709_230.xml wn20040827_237.xml
wn20060428_312.xml
Log message:
Tom Wickline <twickline(a)gmail.com>
fix a couple named anchors
Patch: http://cvs.winehq.org/patch.py?id=28815
Old revision New revision Changes Path
1.2 1.3 +4 -4 lostwages/wwn/wn20040709_230.xml
1.3 1.4 +1 -1 lostwages/wwn/wn20040827_237.xml
1.2 1.3 +3 -3 lostwages/wwn/wn20060428_312.xml
Index: lostwages/wwn/wn20040709_230.xml
diff -u -p lostwages/wwn/wn20040709_230.xml:1.2 lostwages/wwn/wn20040709_230.xml:1.3
--- lostwages/wwn/wn20040709_230.xml:1.2 10 Oct 2006 20: 6:19 -0000
+++ lostwages/wwn/wn20040709_230.xml 10 Oct 2006 20: 6:19 -0000
@@ -65,10 +65,10 @@ Its main goal is to experience a slow ha
<p>We've talked a few times about Mono using Wine for
it's System.Windows.Forms implementation. For the timeline
of events, see issues
- <a href="http://www.winehq.com/?issue=162#.NET%20Success">#162</a>,
- <a href="http://www.winehq.com/?issue=171#Making%20Mono's%20Winforms%20Work">#171</a>,
- <a href="http://www.winehq.com/?issue=213#Wine%20As%20A%20Shared%20Library%20&%2…">#213</a> and
- <a href="http://www.winehq.com/?issue=214#Wine%20As%20A%20Shared%20Library%20&%2…'t)">#214</a>.
+ <a href="{$root}/site/?issue=162#.NET%20Success">#162</a>,
+ <a href="{$root}/site/?issue=171#Making%20Mono's%20Winforms%20Work">#171</a>,
+ <a href="{$root}/site/?issue=213#Wine%20As%20A%20Shared%20Library%20&%20Mono">#213</a> and
+ <a href="{$root}/site/?issue=214#Wine%20As%20A%20Shared%20Library%20&%20Mono%20(con't)">#214</a>.
Last week Miguel de Icaza announced on the
<a href="http://lists.ximian.com/archives/public/mono-devel-list/">Mono development list</a>
plans to abandon using Wine on the backend:</p>
Index: lostwages/wwn/wn20040827_237.xml
diff -u -p lostwages/wwn/wn20040827_237.xml:1.3 lostwages/wwn/wn20040827_237.xml:1.4
--- lostwages/wwn/wn20040827_237.xml:1.3 10 Oct 2006 20: 6:19 -0000
+++ lostwages/wwn/wn20040827_237.xml 10 Oct 2006 20: 6:19 -0000
@@ -367,7 +367,7 @@ of place. Currently Wine supports two m
is for graphical apps using X (x11drv) and the other is for commandline
apps (ttydrv.) There have been efforts in the past to add others,
such as the SDL driver (see WWN issue
-<a href="http://www.winehq.com/?issue=114#New%20SDL%20Driver">#114</a>),
+<a href="{$root}/site/?issue=114#New%20SDL%20Driver">#114</a>),
but there hasn't been much of a reason. Rib explained that there's still much
work to do in order for the driver to be functional:</p>
<quote who="Rib Rdb"><p>
Index: lostwages/wwn/wn20060428_312.xml
diff -u -p lostwages/wwn/wn20060428_312.xml:1.2 lostwages/wwn/wn20060428_312.xml:1.3
--- lostwages/wwn/wn20060428_312.xml:1.2 10 Oct 2006 20: 6:19 -0000
+++ lostwages/wwn/wn20060428_312.xml 10 Oct 2006 20: 6:19 -0000
@@ -434,9 +434,9 @@ engine would also make games perform bet
are done with 3D and work on other areas of Wine will improve that performance.
</p>
<p>For background on this topic, check out WWN
-<a href="http://www.winehq.com/?issue=131#DIB%20Engine%20Update">#119</a>
-<a href="http://www.winehq.com/?issue=138#DIB%20Engine%20(cont'd)">#138</a> and
-<a href="http://www.winehq.com/?issue=159#X11Drv%20/%20NTDll%20Separation">#159</a>. </p>
+<a href="{$root}/site/?issue=131#DIB%20Engine%20Update">#131</a>
+<a href="{$root}/site/?issue=138#DIB%20Engine%20(cont'd)">#138</a> and
+<a href="{$root}/site/?issue=159#X11Drv%20/%20NTDll%20Separation">#159</a>. </p>
<p>So Jesse Allen asked about the DIB engine,
<quote who="Jesse Allen">