Results 1 to 2 of 2
I am writing a program that needs to display graphs. Right now I am using Cairo which works well except it is really slow. Drawing 1200 lines locks up my ...
- 05-30-2010 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 14
GTK DrawArea OpenGL
I am writing a program that needs to display graphs. Right now I am using Cairo which works well except it is really slow. Drawing 1200 lines locks up my computer (i7 CPU and gtx285 graphics card).
I only found examples to use Cairo with GTK DrawingArea can I use OpenGL instead or is there a way to cairo to run faster?
Thanks,
Justin
- 06-01-2010 #2Linux User
- Join Date
- Jan 2006
- Posts
- 414
If you want to use OpenGL inside of GTK+ take a look at gtkglext it gives you a gtk widget that you can create an OpenGL context inside of.


Reply With Quote