Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Floating point bufferes with AGL




On Nov 8, 2004, at 7:00 PM, Gordon Erlebacher wrote:

Hi,

1-2 people have posted requests for floating point pbuffers (or windows) using AGL (not CGL).
Yet, nobody ever answers. Is it possible? Has anybody done it? if so, could a snippet of code
please be shared? There is a singular lack of documentation on this subject. I have a powerbook
G4 with a Radeon 9600.

Yes, it is possible. Just pass the kCGLPFAColorSize, <64, 128> and/or the kCGLPFAColorFloat pixel format attributes. Not passing the kCGLPFAColorFloat attribute will give you the 64 BPP fixed point format, passing the kCGLPFAColorFloat attribute will give you either the 64 BPP half float format or the 128 BPP float format depending on the kCGLPFAColorSize.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Floating point bufferes with AGL (From: Gordon Erlebacher <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.