🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2497

TIGA Driver

#2497
From: Phong Co
Date: Tue, 07 May 1991 21:56
42 lines
1901 bytes
Hi,

I'm programming in Windows on a 25MHz 386 with 3MB of extended
memory.  I've got a Hercules Graphics Station card with the extra 2MB
of memory and the TIGA 2.0 drivers.  I've only got a plain DELL VGA
color monitor, so I'm using the 8-bit TIGA driver (640x480x8).  It
looks pretty good: 256-color PCX and GIF files are quite amazing.

This is the problem:
I'm writing a program which will read in a bitmap in either TIFF,
PCX, or TARGA format, convert it to a Windows DIB, and display it in
a window.  I can do the conversion OK, and use SetDIBits() to write
to a memory device context, in 60KB bands.  The problem is that this
takes about 30 seconds per band!  In VGA mode it's only a couple of
seconds.  I can't wait 5-10 minutes to see an image when I'm doing
program development.  I talked to Hercules, but they didn't offer anything
useful, and seem to think that it's the Texas Intruments chip at
fault. 

So, to summarize (what, already?):

	- should I be doing anything different with my DIBs?
	- is there another 8-bit driver out there?
	- is the 16-bit driver any better?

I've seen a lot of hype for the Graphics Station card.  However, my
impression is that the performance is no better than any SVGA card,
at least with my vanilla monitor.

Thanks for any wisdom!

Phong.


-- 

=========================================================================
Phong T. Co		|
chryses@xurilka.UUCP	|	Nice girls don't explode.
dada Indugu Inc.	|			-- Dave Sim (Cerebus #110)
Montreal, CANADA	|
Technical Details
Message-ID: <282722a1@xurilka.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!xurilka.UUCP!chryses

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!xurilka.UUCP!chryses
From: chryses@xurilka.UUCP (Phong Co)
Newsgroups: comp.windows.ms.programmer
Subject: TIGA Driver
Message-ID: <282722a1@xurilka.UUCP>
Date: 7 May 91 21:56:49 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: dada Indugu Inc.
Lines: 42