W3C home > Mailing lists > Public > www-amaya-dev@w3.org > April 2003

Re: Amaya GL font issues on OS X

From: Paul Cheyrou-lagreze <Paul.Cheyrou-Lagreze@inrialpes.fr>
Date: Thu, 24 Apr 2003 11:19:51 +0200
To: www-amaya-dev@w3.org
Message-Id: <20030424111951.18bdcbea.Paul.Cheyrou-Lagreze@inrialpes.fr>


>  It has to do with pixel packing/unpacking alignment.

Thanks for the information !

Actually we intialize texture drawing as :

glwindowdisplay.c :2612: 
glPixelStorei (GL_UNPACK_ALIGNMENT, 1); 


After downloading ftgl, i found out this in the code :

        glPixelStorei( GL_UNPACK_LSB_FIRST, GL_FALSE);
        glPixelStorei( GL_UNPACK_ROW_LENGTH, 0);
        glPixelStorei( GL_UNPACK_ALIGNMENT, 1);

perhaps it must be included in the macosx version...

-Paul

ps1 : For now we don't have a macosx here to test... 
ps2 : [OT]
it seems that exist a :

glPixelStorei(GL_UNPACK_CLIENT_STORAGE_APPLE, 1) 
that allows use of AGP... might be worth trying it.
Received on Thursday, 24 April 2003 05:19:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:49 UTC