From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Esjhq-0004Ng-6l for mharc-grub-devel@gnu.org; Sat, 31 Dec 2005 11:35:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Esjhn-0004NG-FN for grub-devel@gnu.org; Sat, 31 Dec 2005 11:35:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Esjhl-0004Mt-HL for grub-devel@gnu.org; Sat, 31 Dec 2005 11:35:42 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Esjhl-0004Mk-6z for grub-devel@gnu.org; Sat, 31 Dec 2005 11:35:41 -0500 Received: from [194.109.24.24] (helo=smtp-vbr4.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EsjiT-0005g7-US for grub-devel@gnu.org; Sat, 31 Dec 2005 11:36:26 -0500 Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by smtp-vbr4.xs4all.nl (8.13.3/8.13.3) with ESMTP id jBVGY85R083444 for ; Sat, 31 Dec 2005 17:34:08 +0100 (CET) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB 2 References: <43B5E16A.8090505@nic.fi> From: Marco Gerards Date: Sat, 31 Dec 2005 17:34:11 +0100 In-Reply-To: <43B5E16A.8090505@nic.fi> (Vesa =?iso-8859-1?Q?J=E4=E4skel=E4?= =?iso-8859-1?Q?inen's?= message of "Sat, 31 Dec 2005 03:39:54 +0200") Message-ID: <877j9lb4zg.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: Update on video subsystem draft 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: Sat, 31 Dec 2005 16:35:44 -0000 Vesa J=E4=E4skel=E4inen writes: Hi Vesa, > I have made some updates to wiki . Changed some parameters from > grub_[u]int32_t to standard C types ([unsigned] int). Added functions > used to manage and use render targets. Nice. I am not really sure what a render target exactly is. It would be really nice if this could be added to the documentation. > Here is the URL there: > http://grub.enbug.org/VideoSubsystem Nice. I can change some of the coding style so it matches the GCS if you do not mind. I am not at home now, I'll do that when I am back home. > There is currently some issues with videoterm, screen is only rendered > when terminal refresh is called. Actually I would like to get more > information what each terminal function is supposed to do and how they > should be used. At the moment you have to blindly write commands at this > point as command line is not refreshed all the time :). Right, and this behavior should not be changed. This approach drastically improves performance for some terminal, I think the same is true for the frame buffer, right? > I would like to have some feedback on following areas: > - Is there all needed video API's present? If not give a description > what functionality is required and let's see where that should be > implemented. I'll look over it Monday, but it looks that way for now. If we miss something we can always add it, but it is easier to do that now, of course. > - You are of course free to provide optimization ideas. At this point I > have only considered dirty regions. Ok. > - What would be a good way to debug code like this :)... I have VMware > running here and could use one of it's devices to get debug messages but For a GNU project VMWare is absolutely not an option. You are of course free to do whatever you like, but it is not something that can be documented. What I have in mind is extending grub-emu so we can use grub-emu+XFree to debug the video code. I could have a look next Monday what needs to be done in order to accomplish that. Thanks, Marco