wenn ich ein Image auf ein gleich großes Zielimage zeichne, benötigt dies doppelt so lange, als wenn das Zielimage größer als das Quellimage ist. Da kann dich was nicht stimmen?
Code: Alles auswählen
CreateImage (0, 500, 300, 32)
CreateImage (1, 500, 300, 32)
CreateImage (2, 501, 301, 32)
StartDrawing (ImageOutput (0))
Box (0, 0, 500, 300, #Red)
StopDrawing()
time = ElapsedMilliseconds()
StartDrawing (ImageOutput (1))
For i = 1 To 10000
DrawImage (ImageID (0), 0, 0, 500, 300)
Next
StopDrawing()
Debug ElapsedMilliseconds() - time; 4368ms
time = ElapsedMilliseconds()
StartDrawing (ImageOutput (2))
For i = 1 To 10000
DrawImage (ImageID (0), 0, 0, 500, 300)
Next
StopDrawing()
Debug ElapsedMilliseconds() - time ; 2184ms
