linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
	Antonino Daplas <adaplas@pol.net>
Cc: Andrew Morton <akpm@osdl.org>,
	jsimmons@pentafluge.infradead.org,
	Linux Fbdev development list
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [PATCH 2/3][FBCON]: New Scrolling Mode: YPAN + REDRAW
Date: Tue, 6 Jul 2004 18:30:41 +0800	[thread overview]
Message-ID: <200407061830.41760.adaplas@hotpop.com> (raw)
In-Reply-To: <Pine.GSO.4.58.0407060933200.3788@waterleaf.sonytel.be>

On Tuesday 06 July 2004 15:38, Geert Uytterhoeven wrote:
> On Tue, 6 Jul 2004, Antonino A. Daplas wrote:
> > Added a new scrolling mode (SCROLL_PAN_REDRAW) to fbcon that should
> > greatly benefit unaccelerated drivers such as VESA fbdev.  An increase of
> > 3-10 times in scrolling speed can be expected.
>
> Nice!

Thanks.  Adding it was actually easy, all I have to do was reuse code already
present in fbcon.c.

>
> > Using an accelerated driver, we see almost the same effect but
> > not as dramatically:
> >
> > 1. SCROLL_MOVE - accel
> > real    0m3.112s
> > user    0m0.000s
> > sys     0m3.112s
> >
> > 2. SCROLL_REDRAW - accel
> > real    0m2.604s
> > user    0m0.000s
> > sys     0m2.603s
> >
> > Redraw is still faster than move, but not much.
>
> That probably depends on the card (imageblit vs copyarea)?
>

True.  I really don't want to speculate on this, it varies from 
hardware to hardware, driver to driver. The only thing I can
definitely say is that pan/wrap is the most effective means
to facilitate scrolling.  Whether it be combined with imageblit
or copyarea, I'll leave that up to the driver maintainers.

Tony




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

      reply	other threads:[~2004-07-06 10:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 22:34 [PATCH 2/3][FBCON]: New Scrolling Mode: YPAN + REDRAW Antonino A. Daplas
2004-07-06  7:38 ` Geert Uytterhoeven
2004-07-06 10:30   ` Antonino A. Daplas [this message]

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=200407061830.41760.adaplas@hotpop.com \
    --to=adaplas@hotpop.com \
    --cc=adaplas@pol.net \
    --cc=akpm@osdl.org \
    --cc=geert@linux-m68k.org \
    --cc=jsimmons@pentafluge.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).