PDA

View Full Version : libGL using memory in console application



neuron
11th March 2009, 15:52
I have a KRunner plugin, this of course is gui, and I made a custom profile application to check performance, this is console only, but it's linked with the same options as the gui part.

valgrind --tool=massif on my test application shows memory usage used by libGLcore.so

This is the application I tested with last:


int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.quit();
}


This still shows memory usage by libgl, why?

With all my code there running the test massif says opengl is using 70% of the memory. What is going on?

This is the code, including the CMakeLists.txt file I use to build it:
http://fsrunner.googlecode.com/svn/trunk/