Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MbCRS-0002r2-J4 for mharc-grub-devel@gnu.org; Wed, 12 Aug 2009 07:56:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbCRO-0002pV-UJ for grub-devel@gnu.org; Wed, 12 Aug 2009 07:56:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbCRO-0002oj-2A for grub-devel@gnu.org; Wed, 12 Aug 2009 07:56:26 -0400 Received: from [199.232.76.173] (port=44555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbCRN-0002oW-Jo for grub-devel@gnu.org; Wed, 12 Aug 2009 07:56:25 -0400 Received: from fg-out-1718.google.com ([72.14.220.154]:13599) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbCRN-0006MF-5U for grub-devel@gnu.org; Wed, 12 Aug 2009 07:56:25 -0400 Received: by fg-out-1718.google.com with SMTP id l27so725493fgb.7 for ; Wed, 12 Aug 2009 04:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=eD0aeJiNKqswLTle7GsFGftuT2LpFN5PKCPgOkAY+pE=; b=bHHMZOJbCP4tQUmzotElCIFODc0CDXNV4ec5HYfAAFdVvSWLNqzx3ieuXc4oXQp5OW AEQcos9OX627WumzVa8T8Oc1LaExRZhlQ9WPQWeVndz5mUKL4rmFWQso6RRM6hQr9liz wZQWTZ3Q+e1+yMxBh+ccXry3ldL0zitYbOq8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=GUhb8ZNhW6ZHbXQgeIUOiBUDVXa6DIQF1d0kQeIneh9mZVw80HYVUODtP4rTQaLRkh /kJeKf1QxgQHjeCaIU2NLyKjTsce8qfOx2SvbAA113ZnrHiOxzd1Z6S99NZ/Le9V6e9/ DfMCQSBWSdt3KeJcTAMdFrJn0AQGQv4/6rDjQ= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.230.30 with SMTP id c30mr13591fgh.68.1250078184183; Wed, 12 Aug 2009 04:56:24 -0700 (PDT) In-Reply-To: References: <20090810161040.GA16306@thorin> Date: Wed, 12 Aug 2009 13:56:24 +0200 X-Google-Sender-Auth: bdde84c683cc4875 Message-ID: From: Michal Suchanek To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: RFC: 1.97 roadmap X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 11:56:27 -0000 2009/8/10 Vladimir 'phcoder' Serbinenko : >> >> What is the state of graphics on EFI? > in efi/linux.c there is a stub with a mixture of UGA and direct > access. I would prefer to switch to own drivers since EFI tries to > "abstract" video. Bean has GOP patch but only few mobos support it. I have found one such patch that AFAICT replaces UGA with GOP. With GOP we get access to the framebuffer which is about as good or bad as VBE. UGA is a different story. It only supports Blt (and FillRect), not direct access, and the the Blt data probably has to be the same format as the screen data. This could be supported by creating an offscreen bitmap to which video_fb would draw and which would be (partially) transferred using the UGA Blt after every change. This would, however require some callback which says what part was affected to be efficient. Accelerated drivers might be also somewhat picky about the pixel format (BGR vs RGB, 16bit vs 15bit) but these would typically have the framebuffer mapped somewhere and could use video_fb for formats they do not accelerate. Thanks Michal