ok, looking of the oprofile output of libgl,
r200_dri and qw-client-glx, I decided to hunt for the function
texsubimage2d_bgr888_to_rgba8888 which is at the top of the list at 22.6% of the time.
I have tracked down the function to a define, but from there I don't know where it comes from from ./src/mesa/main/texutil.c #define CONVERT_RGBA8888( name ) \
this function sets else if ( convert->format == GL_RGB
&& \
and the end of the function does return tab[index]( convert );
but I cannot find for the life of me where the value/array/what ever tab gets set to is comming from, a grep for bgr888_to_rgba8888 only reveils
[EMAIL PROTECTED] ~/Mesa
can anyone help in locating this function please so I can atleast try to find out if this function is slow per call or just called alot (as oprofile doesn't give you that information)
Thanks in advance Chris Ison |
- Re: [Dri-devel] function hunting Chris Ison
- Re: [Dri-devel] function hunting Brian Paul
- Re: [Dri-devel] function hunting Chris Ison
- Re: [Dri-devel] function hunting Alan Cox
- Re: [Dri-devel] function hunting Brian Paul
- Re: [Dri-devel] function hunting Chris Ison
- Re: [Dri-devel] function hunting Brian Paul
- Re: [Dri-devel] function hunt... Chris Ison
- Re: [Dri-devel] function hunting Ian Romanick
- Re: [Dri-devel] function hunting Roland Scheidegger
- Re: [Dri-devel] function hunting Chris Ison