On Mon, 2006-05-29 at 09:23 +0200, Audrius Meskauskas wrote: > This patch forces to return early if the color being set is the same as > the current color. It improves the paint performance test result from 78 > till 66.
Actually that screws up the copying constructor GdkGraphics2d(GdkGraphics2d c) which explicitly calls setColor(fg) for updating Cairo's internal state to the current color. These patches are a bit moot though because the pending Graphics2D patch removes the class altogether. /Sven