Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stanford.edu!ERG.SRI.COM!hight From: hight@ERG.SRI.COM (John Hight) Newsgroups: comp.windows.interviews Subject: FillRect vs Stencil Message-ID: <9106031709.AA01172@gorilla.erg.sri.com> Date: 3 Jun 91 17:09:24 GMT Sender: news@shelby.stanford.edu (USENET News System) Reply-To: hight@sri.com Organization: Internet-USENET Gateway at Stanford University Lines: 15 (Speaking in 2.6:) My first attempt at Translating a series of FillRects to simulate packets moving through a queue resulted in a rather disappointing performance on my Sparc 2. I've got to speed things up quite a bit, and I'm wondering whether a series of Stencils (Bitmaps?) would be any faster. (Actually, my guess is it's not the Translating, but the Updating done by my damage object which takes up so much time). Does anybody have an idea as to whether a Stencil can be redrawn faster than a FillRect? Thanks, John Hight SRI International