[Bf-committers] GL_FLOAT rect and rect32

Salvatore Russo russose at free.fr
Thu Jun 22 13:29:58 CEST 2006


Hi Kent,

Thanks for the answer. So it is already optimized... I will check again in the
release source to be sure that the PocketPC doesn't unnecessary conversions.

Thanks,
Salvatore

Selon Kent Mein <mein at cs.umn.edu>:

> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>




More information about the Bf-committers mailing list