Post

 Resources 

Console


Speed Problems Jack Hoxley (4 replies, 0 views) (2000-Jun-19)
-
This isn't exactly a problem; but I was wondering If someone could shed some light on this for me: I've written a C++ DLL; although nothing special, it was running quite quickly - a 640x480 screen array in 20ms I've been testing it in VB, and I wrote a tutorial based on it for my page. The original intention was to use it along with GetLockedArray in DirectDraw surfaces...... To do fast pixel-level FX. I then sorted this out; set up GetLockedArray, used the DLL, and it now takes 100-300ms each pass. 5-15x Slower. What the hell? Why'd it do that? No change when it's compiled either. Is there something about DirectX that I'm missing - I dont think so. The array returned by GetLockedArray should be the same as any other array, right? Any body got any ideas?


-
Back to Forum

RE: Speed Problems Jack Hoxley (3 replies) (2000-Jun-19)
RE: Speed Problems David Goodlad (2 replies) (2000-Jun-19)
RE: Speed Problems Torsten Damberg (0 replies) (2000-Jun-20)
RE: Speed Problems Jack Hoxley (0 replies) (2000-Jun-20)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 67 visitors within the last 20 minutes
RSS News Feed