Hi,

I was wondering why flightgear was so slow so I did some profiling and
debugging. And I found out that apperently the entire vtxfmt code path
is not working. I believe the root cause is that radeonNotifyBegin is
never called with current Mesa. So the driver's own vtxfmt functions are
never installed into the exec API.

As evidence, when I run

RADEON_DEBUG=vfmt fgfs

I get no debugging output at all. Also profile output shows some
functions that should never be used if vtxfmt was working (e.g.
tnl_Vertex3fv).

I couldn't figure out how to fix this. Whatever I tried gave me
segfaults :(. It's also hard to figure out where tnl->Driver.NotifyBegin
should be called. I couldn't find any central _mesa_Begin function, only
tnl_Begin which is a function of a different vtxfmt. Does anyone know
how this is supposed to work?

Regards,
  Felix

------------    __\|/__    ___     ___       -------------------------
 Felix       ___\_e -_/___/ __\___/ __\_____   You can do anything,
   Kühling  (_____\Ä/____/ /_____/ /________)  just not everything
 [EMAIL PROTECTED]       \___/   \___/   U        at the same time.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to