linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Knut Petersen <Knut_Petersen@t-online.de>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: "Antonino A. Daplas" <adaplas@gmail.com>
Subject: scroll modes
Date: Wed, 30 Nov 2005 13:43:12 +0100	[thread overview]
Message-ID: <438D9E60.7040007@t-online.de> (raw)

Hi everybody,

Is there a patch for "true ywrap" scrolling?

Lets have a look at a mode xres=vxres=1024, yres=768, depth=32. As there
is 8 Mb of available memory, we can use a vyres of 2048. With an 8x16 font
this gives exactly 128 lines of text in virtual memory, 48 lines are 
displayed.

Current code stops to ypan at text line 80, moves image data to the 
beginning of the
video memory and continues. The frequent calls to copyarea are a major 
cause of
slowing down at high image depths.

Optimal scrolling for the cyberblade would mean nothing but to emit new 
lines
with hwaccel imageblit up to the very end of video memory and to ypan 
accordingly.
There is no need for moving data around in video memory or to redraw the 
screen
as the cyberblade hardware handles wrapping at the end of the video 
memory perfectly
fine.

cu,
 knut


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

             reply	other threads:[~2005-11-30 12:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30 12:43 Knut Petersen [this message]
2005-11-30 12:48 ` scroll modes Geert Uytterhoeven
2005-11-30 17:32   ` Knut Petersen
2005-11-30 20:40     ` Antonino A. Daplas
2005-11-30 22:54       ` Knut Petersen
2005-12-01  0:01         ` Antonino A. Daplas
2005-12-01 23:03           ` Knut Petersen
2005-12-01 23:16             ` Antonino A. Daplas
2005-12-01 23:27             ` Antonino A. Daplas
2005-12-01 23:47               ` Knut Petersen
2005-12-02  1:16                 ` Antonino A. Daplas
2005-12-03 12:01                 ` Geert Uytterhoeven
2005-12-02 10:55       ` Knut Petersen
2005-12-08 20:57         ` Antonino A. Daplas

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=438D9E60.7040007@t-online.de \
    --to=knut_petersen@t-online.de \
    --cc=adaplas@gmail.com \
    --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).