From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: make a faster blit (allegro) Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <89r0b7$d37$1 AT wanadoo DOT fr> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 X-Trace: /K49oFIuisc/yY0jGAjfxgmrgbgUHrMPsmxiLooi2z1X7AVAhaBp6P1e2QFOQn9P99ZI6CLhI2ok!GW1H4LZBNJSX6L2xEbqcbCHk9+3K39ys4soZdqd9mV2+hi+LUyVB1bNjcDYT8WsB/45hlW84m0qF!r52l8zk= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 06 Mar 2000 01:35:41 GMT Distribution: world Date: Mon, 06 Mar 2000 01:35:41 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 4 Mar 2000 13:39:19 -0000, "Cyberdivad" wrote: >Hello, >Allegro is a very good library for programming games, but in >vga only, because blit is too slow for svga and hicolor. >Has someone made a faster (but specific for svga) one ? blit() is only as fast as your bus's bandwidth. Hicolor (16 bit): multiply twice your screen width by screen height. Divide this into your bus bandwidth to get maximum frames per second. Or use a "dirty rectangle" approach: only blit what has changed from frame to frame. And there are faster versions: try using a FreeBE/AF or SciTechSoft Display Doctor driver; Allegro supports them. If you are on an accelerated system, keep your bitmaps in video memory. -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/