From mint-bounce@lists.fishpool.fi  Wed Jul  7 14:27:51 2010
To: Jo Even Skarstein <joska@online.no>
Subject: Re: [MiNT] Bit-Depth and Graphics stuff....
MIME-Version: 1.0
Date: Wed, 07 Jul 2010 20:25:19 +0200
From: m0n0 <ole@monochrom.net>
Cc: <mint@lists.fishpool.fi>
Reply-To: ole@monochrom.net
In-Reply-To: <4C34C2E4.5080909@online.no>
References: <2d64e795294918b05c6ec6ea3bc731b7-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYPXkF0A1Y6XF1YSUYAWVNeQw==-webmailer2@server08.webmailer.hosteurope.de> <6BF9B6DD-38A2-4874-8D8C-10EE1E99E6DD@gmail.com> <d25df38b75245a8ad96175563976d601-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYAWUF3CFY6XF1YSUEHWV5dSA==-webmailer2@server06.webmailer.hosteurope.de> <F9898075-21A3-4F74-A1C4-8C083449B518@gmail.com> <ef47cbe00dee9daf423d87f8f887938f-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYAWUF3CFY6XF1YSUEHV1tfRA==-webmailer2@server06.webmailer.hosteurope.de> <1BCB0F08-DCCB-423A-B4E1-CCDB279C6B83@gmail.com> <6dbce3cf64caf9c3441739836652cad8-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYMXUF0BVM6XF1YSUADWl9cQw==-webmailer2@server05.webmailer.hosteurope.de> <4C34C2E4.5080909@online.no>
Message-ID: <06fdedb2572afa0d098e169ffd990e45-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJXldoAFVRMl5dRk0HXV1YQVE=-webmailer2@server02.webmailer.hosteurope.de>
X-Sender: ole@monochrom.net
User-Agent: Host Europe Webmailer/2.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
X-HE-Access: Yes
X-bounce-key: webpack.hosteurope.de;ole@monochrom.net;1278527120;0a63420a;
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: ole@monochrom.net
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>


Am Mittwoch, den 07.07.2010, 20:09 +0200 schrieb Jo Even Skarstein

> 
> No, the way to do this is to first transform the bitmaps to a generic
> format (such a format already exists in VDI for 8 bit and less), and
> then transform this generic format to the screen format.

The generic format must be choosen dynamically dependent on the graphics
hardware. Otherwise it could be redundant: 
Let's say I choose 32bpp as generic format, but I'm running a machine with
8bpp colors. 
That would mean: 
sample an 4bpp bitmap up to 32bpp (the generic format) then fed the
drawing routine with this 32bpp bitmap, which down-samples the bitmap to
native 8bpp. 

This could also be done this way: 
sample 4bpp up to 8bpp, fed the bitmap drawing function with that 8bpp
bitmap.
To me this sounds like one sampling process less. :) 

Greets,
Ole 

 
   


