From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Harvey Subject: colour pallete utilities Date: Tue, 19 Mar 2013 15:15:14 -0400 Message-ID: <20130319191514.GD4320@harvey-pc.matrox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mtxmxout6.matrox.com (mtxmxout6.matrox.com [138.11.2.96]) by gabe.freedesktop.org (Postfix) with ESMTP id 57447E5C3C for ; Tue, 19 Mar 2013 12:11:04 -0700 (PDT) Received: from venus.matrox.com (venus.matrox.com [192.168.1.30]) by mtxmxout6.matrox.com (Postfix) with ESMTP id 3DAF31D757B for ; Tue, 19 Mar 2013 15:11:03 -0400 (EDT) Received: (from ssmsp@localhost) by venus.matrox.com (8.14.4/8.13.2) id r2JJB3al029229 for dri-devel@lists.freedesktop.org; Tue, 19 Mar 2013 15:11:03 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by venus.matrox.com (Postfix) with ESMTP id 12D66F4DBB for ; Tue, 19 Mar 2013 15:10:59 -0400 (EDT) Received: from pluton.matrox.com (pluton.matrox.com [192.168.8.7]) by venus.matrox.com (Postfix) with ESMTP id 47196F4DB5 for ; Tue, 19 Mar 2013 15:10:55 -0400 (EDT) Received: from harvey-pc.matrox.com (dyn-152-224.matrox.com [192.168.152.224]) by pluton.matrox.com (Postfix) with ESMTP id 31C647F47E for ; Tue, 19 Mar 2013 15:10:55 -0400 (EDT) Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Does the Linux kernel have functions to convert images to palleted images? I want to display a 4bit palleted cursor, not too sure how to handle that in DRM. Some ideas I have: * change DRM to handle palleted cursors * convert 32bit images in drivers * write library functions do convert * require the conversion to be done in userspace thanks, Chris