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: 3D Acceleration in 24 Bit color



The problem is the "AGL_PIXEL_SIZE, 16". Rage 128 Pro uses 32-bits
internally. I gather if you ask for a 16-bit buffer, it's unable to
accommodate it. Simply leave out the AGL_PIXEL_SIZE specifier and all
should be well.

On the other hand, I'm at a loss why the ATI card DOES accelerate an
AGL_PIXEL_SIZE 16 context with the monitor set to 16-bit. (I just tried
it myself and it works for me too.) Perhaps in that case it know enough
to ignore the pixel-size specifier, since it will downsample to 16-bits
later anyways. Comments, ATI?

Dan

actarus wrote:
> if I start my program (this is a plug-in for IE/NS) using 24 bit color, the
> textures are nice but I lose the acceleration.
...
> GLint attrib[] = { AGL_RGBA,AGL_DOUBLEBUFFER,AGL_PIXEL_SIZE,
> 16,AGL_DEPTH_SIZE,32,AGL_NONE };


References: 
 >3D Acceleration in 24 Bit color (From: actarus <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.