🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11221

Re: Pixrect help

#11221
From: phill%MED-IMAGE.COMPSCI.BRISTOL....
Date: Wed, 01 Mar 1989 20:03
13 lines
1009 bytes
> I having trouble writing pixels on the screen from an unsigned char array.
> pw_put works but is INCREDIBLY SLOW.  I'm on a sun 4/260 Version 4.0.
> Color Display.

Are you using locking/batching - the appropriate one of these (which one
depends on whether you are using retained or non-retained pixrects) causes
*dramatic* speed increases. See pw_lock() & pw_batch_on()/pw_batch_off()
in SunView Programmers' Guide.

Phill Everson
Medical Imaging
Dept Comp Sci
University of Bristol, UK
Technical Details
Message-ID: <8902181327.aa02255@kukini.CompSci.Bristol.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: phill%MED-IMAGE.COMPSCI.BRISTOL.AC.UK@cunyvm.cuny.edu
Newsgroups: comp.sys.sun
Subject: Re: Pixrect help
Message-ID: <8902181327.aa02255@kukini.CompSci.Bristol.ac.uk>
Date: 1 Mar 89 20:03:32 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 13
Approved: Sun-Spots@rice.edu
Original-Date: Sat, 18 Feb 89 13:23:49 GMT
X-Sun-Spots-Digest: Volume 7, Issue 176, message 7 of 12