From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <044344a9b3271bd812bd2f483abb04c0@acl.lanl.gov> To: 9fans@cse.psu.edu Subject: Re: [9fans] Double buffering graphics From: andrey mirtchovski MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 30 May 2002 13:40:44 -0600 Topicbox-Message-UUID: a26f106a-eaca-11e9-9e20-41e7f4b1d025 > Any pointers on how I can implement > double buffering graphics in Plan9 ? if you want an example of double buffered graphics in p9 you can look at the XaoS source (http://www.acl.lanl.gov/plan9/xaos the relevant file is in ./src/ui/ui-drv/plan9/). it uses a single Image and two pixel arrays. it works on the current array and when it's ready executes a loadimage() and a draw() pretty similar to Russ' solution