Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NhUQk-0006qg-Ic for mharc-grub-devel@gnu.org; Tue, 16 Feb 2010 15:54:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhUQi-0006po-Un for grub-devel@gnu.org; Tue, 16 Feb 2010 15:54:00 -0500 Received: from [140.186.70.92] (port=49915 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhUQi-0006pP-8b for grub-devel@gnu.org; Tue, 16 Feb 2010 15:54:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhUQh-0007tk-EL for grub-devel@gnu.org; Tue, 16 Feb 2010 15:54:00 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:34944) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhUQh-0007tg-9x for grub-devel@gnu.org; Tue, 16 Feb 2010 15:53:59 -0500 Received: by fxm7 with SMTP id 7so6833217fxm.8 for ; Tue, 16 Feb 2010 12:53:57 -0800 (PST) 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:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=PAUVEItBLCJDd6UVBC5OhDFhAhYAcnk0H5t2K3xVAaA=; b=fJmDtexZk6sq3+/ZlL2Pg05Avx/1VkGJ7uUv5SE+DFeyXnBKtPE93bBeUDk5N7Kn2P ve8bDTBb/uPfxoig5rjYWQETqDsNVoVRwdkaErwJxPVF0kuDuD5fZVhG4BZPALrqsGQW r4+X3l0FgG3SFW7Bt5yZwwkCru1ZbVcTlpvDc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=O2/a32i9rjHeSeLXgMCvhi02K/PNqS4h2eh+fX3FfPWoO+1M2KBKBzGT85XctxbEUe PSk5fdgEXLTQOJzjocqr8RZKdFgSj5BNZedsnxdqaHC5bdS1VRatc/ZSnsY5U/7/0nHa sCTKLRC5rxMX9YdLi3l9v3U4xSUhfsSW1v7Eo= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.239.137.197 with SMTP id m5mr761467hbm.62.1266353637216; Tue, 16 Feb 2010 12:53:57 -0800 (PST) In-Reply-To: <4B7A9129.9040601@gmail.com> References: <4B736F82.7010005@gmail.com> <4B742B70.3080303@gmail.com> <20100215090552.047346bf@svelte> <4B7A9129.9040601@gmail.com> From: Michal Suchanek Date: Tue, 16 Feb 2010 21:53:37 +0100 X-Google-Sender-Auth: 3fee87ad10640ebe Message-ID: To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [RFC] Framebuffer rotation patch, or why 'unsigned' fails us 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, 16 Feb 2010 20:54:01 -0000 2010/2/16 Vladimir '=CF=86-coder/phcoder' Serbinenko : > Michal Suchanek wrote: >> This also enhances the video interface so that drawing at negative >> position is representable in the arguments. Iit is then possible to >> blit a bitmap without first clipping the topleft part by just blitting >> at negative position which should make some operations easier to carry >> out. >> > It's a good reason then. Just be sure that every code reacts sanely to > negative integers either by sanitising or correctly handling Actually it was possible to blit a bitmap at negative position but it was not possile to draw a rectangle at the same position which was somewhat odd. Thanks Michal