9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] vncv sw cursor trail
Date: Tue,  7 May 2013 16:19:05 -0400	[thread overview]
Message-ID: <c64e36a5c61e19312ec130107bef9579@ladd.quanstro.net> (raw)
In-Reply-To: <e9d931072c26e2fdc231fef1408c0ab0@coraid.com>

> i think the assertion that memload "loads directly to the screen" is not correct.
> at least to my walking through memload.

i read wrong.  i think this may fix the issue in a systemic, but not
entirely satisfying way.  it does seem rather optimistic that we can
just scribble on the screen.

    Top:
	dl = dst->layer;
	if(dl == nil){
		/* call memdraw so that hwdraw gets called */
		tmp = allocmemimage(r, dst->chan);
		n = loadfn(tmp, r, data, n);
		memdraw(dst, r, tmp, r.min, nil, r.min, S);
		freememimage(tmp);
		return n;
	}

by the way, hz should have nothing to do with it since i'm
using cinap's technique of a mouse process that redraws the
cursor when asked, or every 20ms, whichever comes first.

- erik



  reply	other threads:[~2013-05-07 20:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07  9:02 Yaroslav
2013-05-07 12:36 ` lucio
2013-05-07 14:10 ` erik quanstrom
2013-05-07 14:12   ` Gorka Guardiola
2013-05-07 14:18     ` erik quanstrom
2013-05-07 14:31   ` Anthony Sorace
2013-05-07 18:50     ` Ярослав Коломієць
2013-05-07 18:48   ` Ярослав Коломієць
2013-05-07 18:54     ` erik quanstrom
2013-05-07 20:19       ` erik quanstrom [this message]
2013-05-08 10:40         ` Yaroslav

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c64e36a5c61e19312ec130107bef9579@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).