[Mono-winforms-list] paint event debugging

Chris Toshok toshok at ximian.com
Thu Jul 20 19:40:28 EDT 2006


Applying this patch, recompiling, and running on linux with the
MONO_XSYNC environment variable set will (along with slowing down
rendering immensely) flash the regions on the screen that a control will
be repainting.

It's useful in some cases to see where we're repainting more than we
should be (the datagrid is a good example), and cases where we're just
repainting everything too much (the toolbar is a good example).

Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug-paint.diff
Type: text/x-patch
Size: 1095 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20060720/88d8e550/attachment.bin 


More information about the Mono-winforms-list mailing list