[Bf-committers] GL_FLOAT rect and rect32

Kent Mein mein at cs.umn.edu
Wed Jun 21 16:07:02 CEST 2006


In reply to Salvatore Russo (russose at free.fr):

Basically if rect32 exists it uses it.
Some of the old stuff isn't converted over so thats why the fallback.

Kent


> 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

-- 
mein at cs.umn.edu
http://www.cs.umn.edu/~mein


More information about the Bf-committers mailing list