Tartarus CVS: putty: ben

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Tue, 26 Nov 2002 01:32:53 +0000


CVS Root:       /home/cvs
Module:         putty
Changes by:     ben
Date:           Tue Nov 26 2002  01:32:53 GMT

Log message:
Substantial overhaul of colour handling in do_text().  Highlights include:
* No more mucking about with transfer modes.  We always set up the foreground
  and background sensibly, EraseRect the whole lot and use srcOr.  Apple
  Tech Note QD505 suggests that this should be faster than srcCopy.
* Always use the Palette Manager if we've got Color QuickDraw, even in 1bpp
  modes.
* Apply the cursor colours _after_ all the other stuff, rather than trying to
  get them through everything else intact.
Unfortunately, this doesn't make much difference to the speed.

Modified files:
    mac             : macterm.c

Links:
http://cvs.tartarus.org//putty/mac/macterm.c.diff?r1=1.11&r2=1.12