Patch that speed things up (brain dump)

Roger Larsson roger.larsson at norran.net
Fri Feb 27 12:43:00 CET 2004


This patch speeds things up enough for most brushes (even the paprika).

It is really a multi part...
1) An attempt to speed up drawing itself (not finished, has bugs)
	Guess why I started to look into other image libraries :-)
2) Rethink of m_dirtyRect and screen redraws
	let m_dirtyRect accumulate changes!
	notify on:
	a) mouse release
	b) timeout  (kis_notify_limit [ms])
		The timeout is global to simplify modifications.
		kis_notify_limit = 0 gives you back the current behaviour.
		kis_notify_limit = 10 gives about one update per monitor refresh (100Hz).
		kis_notify_limit = 50 X is no longer the problem - krita/brushes are.

/RogerL

-- 
Roger Larsson
Skellefteå
Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krita.patch
Type: text/x-diff
Size: 28583 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20040227/1300fdae/krita-0001.bin


More information about the kimageshop mailing list