[Bf-committers] GL_FLOAT rect and rect32

Ton Roosendaal ton at blender.org
Thu Jun 22 17:55:27 CEST 2006


Hi,

I am removing all GL_FLOAT buffer drawing now, this has proven to be  
not well supported for all the graphics cards out there. Very sad...  
it's an ancient OpenGL 1.0 feature, but apparently too professional or  
so. :)

-Ton-

On 21 Jun, 2006, at 11:40, Salvatore Russo wrote:

> Hello,
>
> It would help me to have some information on "rect and rect32" to be  
> sure that
> BlenderPocket is not making unecessary redundant operations on pixel  
> drawing.
> We often have in the code:
>
> if(rect32)
> glaDrawPixelsSafe(****, ***, ****, ****, ****, GL_RGBA,  
> GL_UNSIGNED_BYTE,
> rect32);
> else
> glaDrawPixelsSafe_to32(****, ****, ****, *****, GL_RGBA, GL_FLOAT,  
> rectf);
>
> An optimization for BlenderPocket would be to have rect32 as often as  
> possible
> (ideally ever!).
>
> What determine if Blender work on rect or rect32? Is it a GUI option?  
> There is
> maybe an already implemented way to say blender to keep GL_FLOAT  
> drawing at a
> minimum?
>
> Thanks for your help,
> Salvatore
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list