Quote Originally Posted by spud View Post
I don' see that your problem has anything to do with QGLWidget. I am testing on Windows, though so there could be some differences.

I guess you are wondering why the grayscale conversion takes forever.
Firstly don't use pixel() and setPixel() they are really inefficient!
Secondly, don't post more events than you need! That way it's no wonder that the event loop gets busy.
Thanx spud, maybe you where too quick to comment on this:

  1. Check Callgrind output (profiling the application would be better though)
  2. In class ImgFrame sub-class it from QWidget instead compile run and test again and let me know
  3. I'm aware of the set/get pixel issue (although it is clearly not the problem)

Quote Originally Posted by spud View Post
And as a matter of coding style, I suggest you encapsulate your classes better. There is no way GriYapIpligi.cpp should have to include all the header files in your project.
I'm aware of this, it is not an issue.