Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ob3CT-0004If-N6 for mharc-grub-devel@gnu.org; Mon, 19 Jul 2010 23:08:57 -0400 Received: from [140.186.70.92] (port=53320 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ob3CP-0004IP-Tr for grub-devel@gnu.org; Mon, 19 Jul 2010 23:08:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ob3CO-0000qW-Nr for grub-devel@gnu.org; Mon, 19 Jul 2010 23:08:53 -0400 Received: from web57415.mail.re1.yahoo.com ([66.196.100.67]:46714) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Ob3CO-0000q6-Jh for grub-devel@gnu.org; Mon, 19 Jul 2010 23:08:52 -0400 Received: (qmail 10860 invoked by uid 60001); 20 Jul 2010 03:08:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1279595331; bh=t8L0Nf/e0IQCe2UqLUV2tjcIdMKOWmVl/Q07bB/Lxx4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=0XP5jZK72iZ8AmcjuHOZ9R0MqCHnGireEBiwbpzV1c1iwdYCd+dZUEOqXPzQWCLi6HJ6VFeHMxWzz9DJat35y6dY9aUUHfX5oNzANfFTV9WvhyIUL7/959kvRBgnLEe8URcUbkMKqrOrCbaiY6ZwNd9ZynePV5c1d1t80YQkQDE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=6CVRZckTwsS+u59YQb9c0fujvrt90/N68lpybSLd+5fosNXFMUfNT+c2ERCDGPkLmhEPLYaJ2Ts+kov1IoRlRQXq01SptedsX1npLVXuPKwJFh2kmGuyaSXAbXg0fl0t+l1wJtoBh1iDTfJSdBLLPbPqAdZSYXkFUINlFt+d+x8=; Message-ID: <295617.8729.qm@web57415.mail.re1.yahoo.com> X-YMail-OSG: TAWUf.AVM1m8PdrnKOPMBizVhJmoEb3lSVES2PgHDwDvayJ sFTBxzKZ5 Received: from [206.248.157.55] by web57415.mail.re1.yahoo.com via HTTP; Mon, 19 Jul 2010 20:08:50 PDT X-Mailer: YahooMailClassic/11.2.4 YahooMailWebService/0.8.104.276605 Date: Mon, 19 Jul 2010 20:08:50 -0700 (PDT) From: Jason Butler To: The development of GNU GRUB MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) Subject: cache drawn entries in draw_menu X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 03:08:56 -0000 I was speaking with phcoder on IRC about gfxmenu/gui_list.c finction draw_menu. He says it should only redraw 2 entries and cahe drawn entries, and that most drawings should be done to a separate target. To implement this I think I need more information. draw_menu uses the function grub_video_blit_bitmap to output the entry icon and title to the video adapter. Which entries should be cached and which redrawn? What target should most drawing be done to? If its not the video adapter then wont it not be displayed?