From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antonino Daplas Subject: Re: [Patch 2] Console Rotation Date: 08 Oct 2002 03:44:09 +0800 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1034018779.572.22.camel@daplas> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-xP02ods6k9xb5j6bin8X" Return-path: Received: from [203.167.79.9] (helo=willow.compass.com.ph) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17ydoN-0001ZC-00 for ; Mon, 07 Oct 2002 12:45:03 -0700 In-Reply-To: Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: Geert Uytterhoeven Cc: fbdev --=-xP02ods6k9xb5j6bin8X Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2002-10-07 at 04:41, Geert Uytterhoeven wrote: > > The fillrect() for arbitrary bitdepths is in fbtest now. I also added fast > support for planar screens. Well, now I can start porting amifb to the accel > framework. > I modified your fillrect for cfbfillrect.c. Just added support for ROP_XOR. Here's also some rudimentary benchmarks: fill/copy a 256x256 rectangle 1000 times (8bpp): old new copyarea 4.930s 5.151s fillrect(ROP_COPY) 0.136s 0.256s fillrect(ROP_XOR) 4.059s 3.903s Tony --=-xP02ods6k9xb5j6bin8X Content-Disposition: attachment; filename=cfbfillrect.c Content-Transfer-Encoding: quoted-printable Content-Type: text/x-c; name=cfbfillrect.c; charset=ISO-8859-1 /* * Generic fillrect for frame buffers with packed pixels of any depth.=20 * * Copyright (C) 2000 James Simmons (jsimmons@linux-fbdev.org)=20 * * This file is subject to the terms and conditions of the GNU General Pub= lic * License. See the file COPYING in the main directory of this archive fo= r * more details. * * NOTES: * ++Tony: Based on fbtest (cfb.c bitstream.c) by Geert Uytterhoeven. * */ #include #include #include #include