All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas S. Iversen" <zensonic@zensonic.dk>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Bug in software cursor flash code, when align!=1?
Date: Mon, 15 Sep 2003 10:38:21 +0200	[thread overview]
Message-ID: <20030915083820.GA22164@zensonic.dk> (raw)

Hi Again

Being puzzled by the fact that my software cursor did not work when
everything else worked with my accelerated routines I tried to investigate
where the problem was located. This being when scan_align!=1 which
my accel routines need.

I suspected the flash code in the software cursor routines, so I
changed the flash frequence to 1 per second. This showed me that
the first image (== combination of the cursor and the underlying char)
is good enough. After a second the cursor flash code gets called
and I get garbage where the cursor are. When I move the cursor to another
position I once more get one good image and garbage after that.

To rule out that my accell functions caused this I put in a

	for(i=0;i<64;i++)
		info->cursor.image.data[i]=1<<((i>>2) &0x07);

between

	info->cursor.image.data = dst;
        
and
        info->fbops->fb_imageblit(info, &info->cursor.image);

in softcursor.c. This gave me the expected / image all the time.
                                           /

I did not have the time to investigate this very much further, but I
suspect that the problem lies with the xor/copy functions in
softcursor.c not taking alignment into account on subsequent calls.

Just for information. 

Regards Thomas, Denmark


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

             reply	other threads:[~2003-09-15  8:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15  8:38 Thomas S. Iversen [this message]
2003-09-21 11:50 ` Bug in software cursor flash code, when align!=1? Tony
2003-09-21 12:55 ` Tony

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=20030915083820.GA22164@zensonic.dk \
    --to=zensonic@zensonic.dk \
    --cc=linux-fbdev-devel@lists.sourceforge.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.