Hi,
I am trying to display a computational map on a rectangular grid; each line has a number of pixels with colours computed by some formula, and I display each line as computed - this is rather like a scan-line conversion algorithm for polygons. Every tenth line I do a flush of the graphics buffer.
On a 400x400 pixels (rather small for my intents), it does not crash but is rather slow. If I try to use 800x800, then the computer hangs (does not respond to mouse events), until finally the program crashes.
I am using v7.00 and running on an HP Compaq 6000 Pro, 4 GB of RAM, Intel Core 2 Duo E8400 with an Intel GMA graphics driver, under Windows 7 Pro, 64-bit.
Any help is appreciated!
Cheers, Rudnei
do j=0,799
do i=0,799
! computer colour
a%pixels(1,i,0) = char(colour%r)
a%pixels(2,i,0) = char(colour%g)
a%pixels(3,i,0) = char(colour%b)
end do
call display_dib_block@(0,j,a%pixels,a%hres,a%vres,
0,0,a%hres,a%vres,0,0,rslt)
if (mod(j,10)==0) then
call PERFORM_GRAPHICS_UPDATE@( )
end if
end do