From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] point2rgb and point2rgba Date: Mon, 31 Jan 2005 12:33:17 -0700 From: andrey mirtchovski In-Reply-To: <11d3735baba19e7c2a9a059159f39460@vitanuova.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 3aac92dc-eace-11e9-9e20-41e7f4b1d025 > there are applications that really do need to push lots of > custom-generated pixels of data to the screen. it seems a pity that > this kind of thing is so heavily penalised in plan 9. maybe it's just > that so many of these kind of applications are basically frivolous > (screensavers and games)... anything opengl is an example of this. it's nearly impossible to do opengl for plan9 using libdraw primitives, since converting a ulong to a color needs to go through allocimage. i heard someone suggest using an rgb color triangle already allocimage'd in rio as a source for pre-allocated colors, but try drawing a replicated pixel sourced from a larger image without a 1x1 intermediary :)