home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12764 < prev    next >
Encoding:
Text File  |  1992-08-27  |  2.3 KB  |  48 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!math.fu-berlin.de!news.th-darmstadt.de!rbhp25.rbg.informatik.th-darmstadt.de!rb345
  3. From: rb345@rbhp25.rbg.informatik.th-darmstadt.de (Matthias Meixner)
  4. Subject: Re: Double buffering and flicker..
  5. Sender: news@news.th-darmstadt.de (The Usenet-News System)
  6. Message-ID: <1992Aug27.150303.32479@news.th-darmstadt.de>
  7. Date: Thu, 27 Aug 1992 15:03:03 GMT
  8. References:  <mcuddy.714894318@fensende>
  9. Nntp-Posting-Host: rbhp25.rbg.informatik.th-darmstadt.de
  10. Organization: TH Darmstadt
  11. Keywords: WaitBOVP() and WaitTOF()...
  12. Lines: 34
  13.  
  14. In article <mcuddy.714894318@fensende>, mcuddy@fensende.Rational.COM (Mike Cuddy) writes:
  15. |> I've got some double buffer routines that I'm putting the final touches
  16. |> on, but I can't seem to grok what's wrong with the page-flip routine:
  17. |> In short, I'm using 'view-swapping' (i.e.: two copper lists, one view, and
  18. |> LoadView()), and just before I do the LoadView(), I do a WaitTOF().  
  19. |> Unfortunately, when I do this, the double buffering flickers like mad!
  20. |> (The graphics can't be seen while they're being drawn, so I know I'm
  21. |> drawing on the right page...)
  22. |> 
  23. |> The catch is, when I use WaitBOVP() with the last ViewPort in my view, 
  24. |> everything works fine. But, according to the RKM, WaitBOVP() busy waits, 
  25. |> and that's bad. (I'm trying to be system friendly!)
  26. |> 
  27. |> *HELP*
  28. |> 
  29. |> BTW: I'm on a 68040 based system (RCS FF40), and I thought that the extra
  30. |> speed might have something to do with it (trying to display more than 60FPS)
  31. |> but the tearing happens in 68K mode also.
  32. |> 
  33.  
  34. Try RemakeDisplay() instead of LoadView(), maybe this will help you, but i don't
  35. know if this will fix the flicker.
  36.  
  37.  
  38. |> --Mike Cuddy (mcuddy@rational.com, fensende!mcuddy@apple.com)
  39. |> To Anachreon in Heav'n/Where he sat in full glee/A few sons of harmony sent a 
  40. |> petition/That he them inspi-re and patron would be/When this answer arrived/
  41. |> from the jolly old Grecian/"Boys fiddle and flute,/no longer be mute,/
  42. |> I'll lend 'ye my name/And inspire ya' ta' boot/And besides I'll instruct 'ye/
  43. |> like me, to entwine/ the Myrtle of Venus with Bacchus' vine!
  44. |> -- sing to the tune of the star spangled banner... (these are the orig words,
  45. |> yes folks, our national anthem is a ``let's get drunk and F*** song'').
  46.  
  47. -Matthias
  48.