All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: New patch for video subsystem...
Date: Thu, 09 Mar 2006 22:43:22 +0200	[thread overview]
Message-ID: <4410936A.4070204@nic.fi> (raw)
In-Reply-To: <440C93E2.8050202@nic.fi>

Vesa Jääskeläinen wrote:
> Yoshinori K. Okuji wrote:
>> On Friday 03 March 2006 15:23, Vesa Jääskeläinen wrote:
>>> Nowadays 1024x768 is a normal standard resolution.
>> Even if it is very popular, since the boot loader is a critical part of an 
>> operation system, the default should be set to something really safe. So I 
>> prefer 640x480. It is up to the user (or the vendor shipping GRUB) to change 
>> it to something more comfortable.
> 
> Ok. I will change the default to that. I will only make new patch if
> there are issues to be solved before commit.

While waiting for more comments or approval I have made some changes,
but I will commit them after we have initial set of patches in.

1. Added simple caching to font manager. Implemented as a "pageing", in
initial page there is 128 entries to hold glyphs, if it there is need
for more glyphs new page will be allocated to and added as a next page.
When finding for cached glyph, it first scans root page and then
advances to next pages.

2. Added simple buffering to videoterm. If there is enough memory for
buffer layer it will allocate it and use it. When rendering, all
operations in videoterm goes first to buffer layer, and when all layers
has been rendered to it, then it renders buffer to display. If it is not
available, we will notice some flickering.

I think the next step here would be to either add bitmap loading support
(and implement rendering for it) or add more optimal rendering
possibilities to VBE driver. Is there a nice way to split vbe driver to
more source files without causing generation of more modules. I was
thinking that "optimized" versions of some blitting operations would be
good to place on some other file as source might grow to quite large.

I am open to proposals what to implement next (it could even be
something not listed here).

Also we need to decide should there be functional changes when user has
chosen indexed color modes instead of RGB mode. (Both work now, but
indexed color mode more slowly as it tries to find best indexes for RGB
values for EVERY drawn pixel :)

Thanks,
Vesa Jääskeläinen



  reply	other threads:[~2006-03-09 20:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 19:28 New patch for video subsystem Vesa Jääskeläinen
2006-03-03 11:49 ` Marco Gerards
2006-03-03 15:23   ` Vesa Jääskeläinen
2006-03-05 22:25     ` Yoshinori K. Okuji
2006-03-06 19:56       ` Vesa Jääskeläinen
2006-03-09 20:43         ` Vesa Jääskeläinen [this message]
2006-03-10 12:21           ` Vesa Jääskeläinen
2006-03-12 14:49     ` Marco Gerards
2006-03-12 21:23       ` Vesa Jääskeläinen
2006-03-14 17:09         ` Vesa Jääskeläinen
2006-03-12 14:50     ` Marco Gerards
2006-05-04 22:27 ` Johan Rydberg
2006-05-05  8:21   ` Vesa Jääskeläinen
2006-05-05 11:06     ` Johan Rydberg

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=4410936A.4070204@nic.fi \
    --to=chaac@nic.fi \
    --cc=grub-devel@gnu.org \
    /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.