Hi;

On Wed, 2008-07-09 at 16:25 -0700, James Ketrenos wrote:
> Latest trunk for clutter-glx-texture-pixmap.c has the 
> texture_from_pixmap code paths disabled if non-power-of-two textures are 
> not supported. 
> 
> If I remove the non-power-of-two check, everything runs but I get 
> non-updating textures.  If I also force the texture target type to be 
> GLX_TEXTURE_2D_EXT, everything works and I have real GLX 
> texture-from-pixmap textures in Clutter.  I'm not sure what the right 
> way is to detect if the code should use GLX_TEXTURE_2D_EXT.

That is very odd. It sounds to me the driver is not reporting
"GL_ARB_texture_non_power_of_two" extension present but is actually
supporting non power of two sized textures for TFP - at least I cant see
how TFP would work at all without being able to do npots sizing (even
with your patch).

I was 99% sure the Intel drivers drivers do regular NPOTS textures and
did report it correctly. Are you running a non release build ?

Anyway I've committed a patch to trunk which now just assumes the driver
can do NPOTs TFP textures even if regular npots are not advertised but
TFP is (similar to your patch). That should be pretty safe everywhere.
Can you check it works for you ?

Doh, TFP is waaaaay too painful.

Many thanks;

  == Matthew



-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to