On Sat, Mar 01, 2003 at 01:22:15PM -0400, Ben Armstrong wrote:
> I tried tuxpaint over ssh today in response to an old outstanding Debian
> bug which I forwarded here a while ago.  I ran tuxpaint on my main
> system, ssh-forwading to my laptop.  While stamps and freehand lines
> could be drawn without delays, I bogged down when I tried to do outline
> shapes.  I tested no further than this, so I don't know how it performs
> with solid shapes or magic tools.

The problem seems mostly due to XOR line drawing, which does a read and write
of every pixel it draws, which is slow.

I'm currently working on a replacement which adds "..._unxor()" functions.
At the moment, they just call the regular "...xor()" function, but the
eventual point will be to:

  1. Replace XOR drawing with plain pixel pushing; writes only, no read/writes
     This seems to work fast enough for most other things

  2. Replace the new stub "un-XOR" functions with simple 'erase using the
     contents of the canvas' blitting, which should be quite fast, hopefully...


Wish me luck!

-bill!

-- 
[EMAIL PROTECTED]                           Got kids?  Get Tux Paint! 
http://newbreedsoftware.com/bill/       http://newbreedsoftware.com/tuxpaint/
_______________________________________________
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to