home *** CD-ROM | disk | FTP | other *** search
- Path: grafix.xs4all.nl!john.hendrikx
- Date: Sat, 20 Jan 96 18:26:39 GMT+1
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- Subject: Re: Demo/game to OS friendly part II
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
- Message-ID: <john.hendrikx.47u5@grafix.xs4all.nl>
- Organization: Grafix Attack BBS Holland
-
- In a message of 19 Jan 96 Benjamin Hutchings wrote to All:
-
- >> How about a frontmost window layer that do not overlap... you can
- >> pokeaway... If you dont want to force a window to be alway frontmost
- >> you can check for any clipping and stop rendering when not frontmost.
- >> Or lock the window tofront while you render or even if possible use
- >> an offscreen buffer and render to it (Not possible on SGI system.)
-
- >> Having a mecanism for the user to extend the gfxlibrary at a 'lowlevel'
- >> is something AT should REALLY think about.
-
- BH> This is what Microsoft calls DirectDraw, and is how Windows 95 games
- BH> run quite fast, uh, sorry, not as slowly as under Windows 3.x (if they
- BH> ran that way at all). An interesting kluge which just might work as
- BH> well for the Amiga as it is bound to do for Win95, but it is
- BH> questionable whether any Microsoft scheme is actually a good idea after
- BH> all.
-
- Games on Amiga don't need to run in a window, after all, we've got screens.
-
- However, I think that accessing the screen-buffer directly is a necessity for
- fast games, like a DOOM clone, as they want to do stuff on a pixel basis which
- the OS doesn't provide standard functions for (unlike line-drawing for
- example).
-
- That's why I think that it should be possible to specify a number of supported
- (pixel-) layouts with the OpenScreen call, so you can tell OpenScreen that your
- application supports only 8-bit and 16-bit Chunky displays for example, and
- 'force' OpenScreen to either give you such a screen or to fail (instead of
- getting 'the best match'). A 'query' function to find out about what screen
- you got back from OpenScreen would also be quite handy.
-
- Grtz John
-
- -----------------------------------------------------------------------
- John.Hendrikx@grafix.xs4all.nl TextDemo/FastView/Etc... development
- -----------------------------------------------------------------------
- -- Via Xenolink 1.985B3, XenolinkUUCP 1.1
-