linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Thomas S. Iversen" <zensonic@zensonic.dk>
To: James Simmons <jsimmons@infradead.org>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Need advice on blitting to dword alignment
Date: Sat, 13 Sep 2003 07:17:36 +0200	[thread overview]
Message-ID: <20030913051736.GA13008@zensonic.dk> (raw)
In-Reply-To: <Pine.LNX.4.44.0309122225100.5017-100000@phoenix.infradead.org>

On Fri, Sep 12, 2003 at 10:26:33PM +0100, James Simmons wrote:

> No hardware support to draw color images :-(

No, not at the moment, will look into that later; my
time is, like everybody else, limited :-(

> Cursor broken in 2.5.73.

Ahh, I will try some of the later kernels. Or add support
for hardware cursor when time permits :-)

> You mean a cfb_copyarea call? 

No a cfb_imageblit(info,image) call. My code looked roughly like
during development:

void lynxfb_imageblit(info, image) {
	if(image->depth!=1)
	 	return cfb_imageblit(info,image);
	
	hardware accelerated font blit of
 	the requested image, but 
	_hardwired_ to start at 0,0

	cfb_imageblit(info,image); //At the right position
}

When I set alignment to 1 the code above does produce a normal
console except for the top line which are blitted wrong by
the hardware.

If I change alignment to 4, the hardware blits correctly, but
the rest of screen become garbage (sort of, one get a staircase effect,
probably because of the alignment)

It is not a problem anymore, now that the hardware blitting
works for me, but I will see if I get the same effect in 2.6.0pre 
kernels at the same time as I hope for the cursor to turn up all
normal again ;-)

Thanks for your help

Regards Thomas


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

  reply	other threads:[~2003-09-13  5:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-12 13:52 Need advice on blitting to dword alignment Thomas S. Iversen
2003-09-12 17:09 ` James Simmons
2003-09-12 19:13   ` Thomas S. Iversen
2003-09-12 19:58     ` Thomas S. Iversen
2003-09-12 21:26       ` James Simmons
2003-09-13  5:17         ` Thomas S. Iversen [this message]
2003-09-12 21:24     ` James Simmons

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=20030913051736.GA13008@zensonic.dk \
    --to=zensonic@zensonic.dk \
    --cc=jsimmons@infradead.org \
    --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 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).