From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Harvey Subject: Re: colour pallete utilities Date: Tue, 19 Mar 2013 15:18:19 -0400 Message-ID: <20130319191819.GA4668@harvey-pc.matrox.com> References: <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 mtxmxout3.matrox.com (mtxmxout3.matrox.com [138.11.2.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 0BB9BE648D for ; Tue, 19 Mar 2013 12:14:09 -0700 (PDT) Received: from mars.matrox.com (mars.matrox.com [192.168.1.29]) by mtxmxout3.matrox.com (Postfix) with ESMTP id 5A3362A4AE9 for ; Tue, 19 Mar 2013 15:14:08 -0400 (EDT) Received: (from ssmsp@localhost) by mars.matrox.com (8.14.4/8.13.2) id r2JJE8MG029653 for dri-devel@lists.freedesktop.org; Tue, 19 Mar 2013 15:14:08 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mars.matrox.com (Postfix) with ESMTP id 834F69522B for ; Tue, 19 Mar 2013 15:14:04 -0400 (EDT) Received: from pluton.matrox.com (pluton.matrox.com [192.168.8.7]) by mars.matrox.com (Postfix) with ESMTP id 922AF951FF for ; Tue, 19 Mar 2013 15:14:00 -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 8309A7F45F for ; Tue, 19 Mar 2013 15:14:00 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20130319191514.GD4320@harvey-pc.matrox.com> 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 On Tue, Mar 19, 2013 at 03:15:14PM -0400, Christopher Harvey wrote: > 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 s/pallete/palette/ :S