🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13265

Re: Double-Buffering in a window

#13265
From: Mike Smithwick
Date: Mon, 01 Jan 1990 19:52
23 lines
1159 bytes
["never trust a surgeon with shaving cuts"]

In article <5839@sdcc6.ucsd.edu> pa2027@sdcc13.ucsd.edu (Stupendous Man) writes:
>
>
>I'd like to be able to draw to an
>offscreen bitmap and then switch the offscreen to the bitmap the
>window is using.  Is there a fairly straightforward method?
>

Simple! Just create an offscreen Rastport, render into to it to your
hearts desire, then do a ClipBlit into your window's Rastport. That's
what I do for Geotime. It may not be fast enough for full animation, but
for clean transitions between two images it works fine.

mike



                                                      *** mike smithwick ***

"When I was 18 I joined the centrifigal Air-force"
[disclaimer : nope, I don't work for NASA, I take full blame for my ideas]
Technical Details
Message-ID: <39491@ames.arc.nasa.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ames.arc.nasa.gov!mike

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ames.arc.nasa.gov!mike
From: mike@ames.arc.nasa.gov (Mike Smithwick)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Double-Buffering in a window
Message-ID: <39491@ames.arc.nasa.gov>
Date: 1 Jan 90 19:52:21 GMT
Sender: usenet@ames.arc.nasa.gov
Organization: NASA - Ames Research Center
Lines: 23