terek@apollo.UUCP (Robert Terek) (01/22/88)
In fix #79, a change was made in window.c concerning the size of root background tile: ! pWin->backgroundTile = (*pScreen->CreatePixmap)(pScreen, 16, 16, ! pScreen->rootDepth); ---------------------------- ! pWin->backgroundTile = (*pScreen->CreatePixmap)(pScreen, 4, 4, ! pScreen->rootDepth); We expect this was done as a lowest common denominator type fix, in combination with a byte ordering problem in the description of the tile pattern. (The tile pattern declared at the top of window.c also changed.) Unfortunately this fix causes a rather dramatic performance hit(~4x) when drawing the root background if you are using miPaintWindow. Somewhere along the line somebody should call QueryBestSize to determine optimum tile size to use. This could either be in window.c OR miPaintWindow. Votes here seem to believe that it is miPaintWindow's responsibility. Responses?? Steve Reber Bob Terek ------------------------------------------------------------------------------- If it wasn't for the twinkies, we'd all have gone home weeks ago. ------------------------------------------------------------------------------- Apollo Computer {decvax,umix,mit-erl,uw-beaver}!apollo!{terek,reber}