From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antonino Daplas Subject: [Patch 2] Console Rotation Date: 09 Sep 2002 22:22:11 +0800 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1031580820.633.11.camel@daplas> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 17oPPr-0002qk-00 for ; Mon, 09 Sep 2002 07:21:27 -0700 Received: from AP-202-70-99-9.compass.com.ph (AP-202-70-99-9.compass.com.ph [202.70.99.9]) by willow.compass.com.ph (8.9.3/8.9.3) with ESMTP id WAA90348 for ; Mon, 9 Sep 2002 22:21:19 +0800 (PHT) (envelope-from adaplas@pol.net) Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: fbdev The patch (fb_drawing.diff) is an optional replacement to cfbimgblt.c, cfbfillrect.c and cfbcopyarea.c. Rotating the display CW or CCW will expose some of the limitations (alignment and access) of the current drawing functions because fontheight is very variable. This also fixes software clipping. cfbcopyarea.c is just a 'copy 'n paste' of Geert's version I leached from fbutils (I hope this is okay with you, Geert :) The only changes are using FB_WRITEL and FB_READL where appropriate. Tony <<------------------------------------------------------------------->> diff -Naur linux-2.5.33/drivers/video/cfbcopyarea.c linux/drivers/video/cfbcopyarea.c --- linux-2.5.33/drivers/video/cfbcopyarea.c Sun Sep 8 19:34:36 2002 +++ linux/drivers/video/cfbcopyarea.c Sun Sep 8 19:48:05 2002 @@ -28,22 +28,319 @@ #include #include