[3/3] wined3d: Get rid of context_validate.

Alexandre Julliard julliard at winehq.org
Fri Apr 1 05:40:56 CDT 2011


Matteo Bruni <matteo.mystral at gmail.com> writes:

> It should not be needed anymore, now the wined3d context is implicitly
> validated on GL context activation. The check itself wasn't reliable
> because of some threading issues and it also brought a small performance hit.

It crashes here (nvidia driver 256.53):

../../../tools/runtest -q -P wine -M d3d8.dll -T ../../.. -p d3d8_test.exe.so visual.c && touch visual.ok
visual.c:949: Tests skipped: D3DFMT_P8 textures not supported
wine: Unhandled page fault on read access to 0x00000004 at address 0x564def4d (thread 0044), starting debugger...
Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x564def4d).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:564def4d ESP:0032f110 EBP:7e27f248 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:682e96c0 ECX:00000000 EDX:00000000
 ESI:56d8f000 EDI:00000000
Stack dump:
0x0032f110:  56d8f000 00000000 00000004 02000007
0x0032f120:  556be000 02000007 7df05fa0 5572fc1e
0x0032f130:  7e27f270 556be000 56d8f000 02000007
0x0032f140:  00000000 00000014 00000000 7e0db298
0x0032f150:  02000007 02000007 7df05fa0 56d8f000
0x0032f160:  7e27f270 7e0db1a0 7e27f248 5572fdbf
Backtrace:
=>0 0x564def4d in libnvidia-glcore.so.256.53 (+0xd38f4d) (0x7e27f248)
  1 0x00000000 (0x7e106410)
0x564def4d: testl	$0xe000000,0x4(%edi)

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list