Re: fast drawing in delphi
- From: "Maldona8" <maldona8@xxxxxxxxxxxx>
- Date: Wed, 21 Dec 2005 19:08:52 +0100
Dear Bjørge,
please tell me what exactly u was trying to do.
I cannot understand almost nothing from your message
except it was 10% slower... slower than what?
What is your "fast paint" all about?
Hey guys, until now the best solution seems to
be FastLib. Thanks Paul!
Arosh Partow's Graphics32... I am testing your library now... Thanks!
Marteen, please excuse the over-excited Arosh's tone about Graphics32.
I am sure he doesn't mean to bother other people here and he is just being
highly optimistic about the speed of the Graphics32 and fastGEO libraries...
Hey guys, finally I decided to write a short app for testing all of the
"FASTEST"
2D graphics solutions for Delphi to draw the 100x100 hexagons!
Until now we have several candidates:
1) Gordy's FastLib
2) Arosh's Graphics32
3) M$ DirectDraw
4) Scanline method (go figure out how to draw 100x100 hexagons)
5) WinAPI drawing functions --> Offscreen bitmap drawing --> BitBlt () for
screen output
Time resolution will be milliseconds
I dedicated web site can be a good place to see the results of the graphic
speed test.
Peace and Merry Christmas!
Ronald
"Bjorge Sæther" <bjorge@xxxxxxxx> a écrit dans le message de news:
43a9136e$1@xxxxxxxxxxxxxxxxxxxx
> Maldona8 wrote:
> > "Bjørge" <bjorge@xxxxxxxxxxxxxxx> a écrit dans le message de news:
> >>No matter what you do, don't do a large number of point/draw operatrions
> >>onto a visible canvas. Do rather create an invisible ("off-screen")
> >>bitmap,
> >>do all painting on this one, and copy the entire image onto the visibla
> >>canvas by BitBlt() WinAPI. This is\t as magic as e.g. DirectX, but it
> >>speeds
> >>up painting substantially.
>> OK Bjørge,
>> here is the code I use for a simply 10x10 map
>> Please modify it so it can make use of the
>> off-screen bitmap with BitBlt functions?
>
> Eh...well, something must have happened since my last "fast paint"
> attempt...maybe something with hardware:
> - when I tried to do this opearation on an offscreen bitmap, it turned out
> to be some 10% slower !
>
> I'll have to go back to my original sources to see if I have missed
> something - but I'm afraid not.
>
>
>
> Bjørge
.
- References:
- fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Bjørge
- Re: fast drawing in delphi
- From: Maldona8
- Re: fast drawing in delphi
- From: Bjorge Sæther
- fast drawing in delphi
- Prev by Date: Re: turbo pascal question
- Next by Date: Re: turbo pascal question
- Previous by thread: Re: fast drawing in delphi
- Next by thread: Re: fast drawing in delphi
- Index(es):