Pixrect help
phill%MED-IMAGE.COMPSCI.BRISTOL.AC.UK at cunyvm.cuny.edu
phill%MED-IMAGE.COMPSCI.BRISTOL.AC.UK at cunyvm.cuny.edu
Thu Mar 2 06:03:32 AEST 1989
> 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
More information about the Comp.sys.sun
mailing list