Re: Add a slight delay before testing the ddraw and d3d9 visual tests
"Maarten Lankhorst" <m.b.lankhorst(a)gmail.com> wrote:
This makes the tests pass on my pc.
Perhaps there is something less hacky way like GdiFlush() which is more appropriate for this. -- Dmitry.
Hi Dmitry, 2008/2/13, Dmitry Timoshkov <dmitry(a)codeweavers.com>:
"Maarten Lankhorst" <m.b.lankhorst(a)gmail.com> wrote:
This makes the tests pass on my pc.
Perhaps there is something less hacky way like GdiFlush() which is more appropriate for this. I tested GdiFlush to do an XSync and XFlush, and neither of them help any to pass the d3d9 visual tests, I still think I need to put in the Sleep(1000);
Do you agree now? Or do you have another solution. Cheers, Maarten.
2008/2/13, Dmitry Timoshkov <dmitry(a)codeweavers.com>:
"Maarten Lankhorst" <m.b.lankhorst(a)gmail.com> wrote:
This makes the tests pass on my pc.
Perhaps there is something less hacky way like GdiFlush() which is more appropriate for this. I created a patch that does GdiFlush and waits up to .5 seconds after a resolution change, are you ok with that?
Cheers, Maarten.
"Maarten Lankhorst" <m.b.lankhorst(a)gmail.com> wrote:
Perhaps there is something less hacky way like GdiFlush() which is more appropriate for this. I created a patch that does GdiFlush and waits up to .5 seconds after a resolution change, are you ok with that?
Perhaps you could investigate first what's the cause that you need to add that delay on your system, and others don't? -- Dmitry.
participants (2)
-
Dmitry Timoshkov -
Maarten Lankhorst