Yeah, I agree.I guess once I saw it work, it seemed like a great idea as it was so easy. :)You are right though, it's especially bad because it's a kit that is used byother things. Here is the tricky situation we are in:- Mesa compiles fine under Haiku gcc4 without any issues and is rock solid. - mesa_software_renderer had to be updated to work with the new Mesa version aswe are using non-public API's- In recent Mesa releases, a core complicated part of mesa (GL shaders) hasbeen rewritten in not non-c99 friendly C++ which.* compare http://cgit.haiku-os.org/haiku/tree/src/libs/mesa/mesa/shader* to http://cgit.freedesktop.org/mesa/mesa/tree/src/glsl
Maybe one solution would be to have some kind of proxy using BMessages or something like that, to send the OpenGL commands to a gcc4 mesa from a gcc2 app ? Or is there too much memory sharing involved ?
There will be a performance hit, but only for gcc2 apps... -- Adrien.