home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!iphasew!igor!fensende!mcuddy
- From: mcuddy@fensende.Rational.COM (Mike Cuddy)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Double buffering and flicker..
- Summary: WaitBOVP is bad, but WaitTOF flickers?
- Keywords: WaitBOVP() and WaitTOF()...
- Message-ID: <mcuddy.714894318@fensende>
- Date: 27 Aug 92 05:45:18 GMT
- Sender: news@Rational.COM
- Lines: 26
-
- I've got some double buffer routines that I'm putting the final touches
- on, but I can't seem to grok what's wrong with the page-flip routine:
- In short, I'm using 'view-swapping' (i.e.: two copper lists, one view, and
- LoadView()), and just before I do the LoadView(), I do a WaitTOF().
- Unfortunately, when I do this, the double buffering flickers like mad!
- (The graphics can't be seen while they're being drawn, so I know I'm
- drawing on the right page...)
-
- The catch is, when I use WaitBOVP() with the last ViewPort in my view,
- everything works fine. But, according to the RKM, WaitBOVP() busy waits,
- and that's bad. (I'm trying to be system friendly!)
-
- *HELP*
-
- BTW: I'm on a 68040 based system (RCS FF40), and I thought that the extra
- speed might have something to do with it (trying to display more than 60FPS)
- but the tearing happens in 68K mode also.
-
- --Mike Cuddy (mcuddy@rational.com, fensende!mcuddy@apple.com)
- To Anachreon in Heav'n/Where he sat in full glee/A few sons of harmony sent a
- petition/That he them inspi-re and patron would be/When this answer arrived/
- from the jolly old Grecian/"Boys fiddle and flute,/no longer be mute,/
- I'll lend 'ye my name/And inspire ya' ta' boot/And besides I'll instruct 'ye/
- like me, to entwine/ the Myrtle of Venus with Bacchus' vine!
- -- sing to the tune of the star spangled banner... (these are the orig words,
- yes folks, our national anthem is a ``let's get drunk and F*** song'').
-