home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!rbhp25.rbg.informatik.th-darmstadt.de!rb345
- From: rb345@rbhp25.rbg.informatik.th-darmstadt.de (Matthias Meixner)
- Subject: Re: Double buffering and flicker..
- Sender: news@news.th-darmstadt.de (The Usenet-News System)
- Message-ID: <1992Aug27.150303.32479@news.th-darmstadt.de>
- Date: Thu, 27 Aug 1992 15:03:03 GMT
- References: <mcuddy.714894318@fensende>
- Nntp-Posting-Host: rbhp25.rbg.informatik.th-darmstadt.de
- Organization: TH Darmstadt
- Keywords: WaitBOVP() and WaitTOF()...
- Lines: 34
-
- In article <mcuddy.714894318@fensende>, mcuddy@fensende.Rational.COM (Mike Cuddy) writes:
- |> 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.
- |>
-
- Try RemakeDisplay() instead of LoadView(), maybe this will help you, but i don't
- know if this will fix the flicker.
-
-
- |> --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'').
-
- -Matthias
-