From mint-bounce@lists.fishpool.fi Wed Jul 7 02:36:12 2010 Message-ID: <96254C5C5EB14EBC91026087CE48A198@mercatus.local> From: "Jo Even Skarstein" To: References: <2d64e795294918b05c6ec6ea3bc731b7-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYPXkF0A1Y6XF1YSUYAWVNeQw==-webmailer2@server08.webmailer.hosteurope.de> <6BF9B6DD-38A2-4874-8D8C-10EE1E99E6DD@gmail.com> In-Reply-To: Subject: Re: [MiNT] Bit-Depth and Graphics stuff.... Date: Wed, 7 Jul 2010 08:33:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: -------------------------------------------------- From: "m0n0" Sent: Wednesday, July 07, 2010 12:47 AM To: "Peter Persson" Cc: "mint" Subject: Re: [MiNT] Bit-Depth and Graphics stuff.... > Seems like this fVDI thing could really provide an convenient API for true > color stuff... I'm not sure what you're talking about. PeP has already explained the colour index. There are no limits in VDI when it comes to colour depth, except when defining the "pens" used for drawing primitives. There is nothing in the API that keep you from using 32 bit bitmaps. The only thing missing from the VDI when it comes to truecolour graphics is bitmap transformation. In 1-8 bit modes, there is the "VDI standard format" for bitmaps. This is well defined, and there are VDI calls to transform this bitmap to the current screen layout. So you don't have to know anything about the pixel format/layout. In truecolour modes you have to do this yourself. Jo Even