[FIX] Re: Graphics Hardware Acceleration on Mac OS X

Jim Benson jbenson at appliedminds.com
Fri Sep 10 15:33:08 UTC 2004


Thanks Boris, Bert and John!

I'll add some more information here so that when other people see this
behavior, they'll know what's up.

As it turns out, OpenGL places some requirements on the sizes of texture
maps (I seem to recall that they must be sized by powers of 2). So what
was happening was that I was passing an "inappropriately" sized texture
for the map. On the Windoze machines that I have used there must be some
idiot proofing (to protect guys like me), and the texture was mapped
appropriately.

For the Macintosh, it appears that on the machine that I am using the
letter of the law is obeyed. Consequently, the visually alarming map was
displayed. When I used an appropriately sized texture the colors
displayed as expected, with the 'red text' side effect that Bert
described (and fixed :) for any overlying morph.

Thank you for your help,

Jim Benson

-----Original Message-----
From: squeak-dev-bounces at lists.squeakfoundation.org
[mailto:squeak-dev-bounces at lists.squeakfoundation.org] On Behalf Of John
M McIntosh
Sent: Friday, September 10, 2004 3:42 AM
To: The general-purpose Squeak developers list
Subject: Re: [FIX] Re: Graphics Hardware Acceleration on Mac OS X

Ah, I"ll note the fix to the cross platform openGL file was not  
included in 3.7.5b1. I'll look at putting in 3.7.5b2.
Please note the other thing that will go into 3.7.5b2 is a fix not to  
hide the menu bar if you have two screens and are putting Squeak into  
full screen mode on the non-primary screen.

Plus perhaps any other bug fixes if someone lets me know of them....

On Sep 10, 2004, at 3:23 AM, Bert Freudenberg wrote:

> But this only fixes the DNU, not the red-text problem. See attached 
> fix.
>
> Also note that the colors of the rotating cube will shift when 
> hardware acceleration was enabled. This was only very recently fixed
> (in the cross platform tree in the CVS repositiry), so if your VM is  
> older than a few weeks it will exhibit this problem. This only happens

> if you used indexed colors, however, textured objects are fine.
>
> - Bert -
--
========================================================================

===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================

===







More information about the Squeak-dev mailing list