Re: How I can do Double Buffer without OpenGL Ext?

2010-02-18 Thread Gustavo Rojas
Thanks for everything friends, My problem was that I was drawing directly over draw area, then with gtk_widget_queue_draw (), I achieved to solve my problem. Regards Gustavo Rojas El jue, 11-02-2010 a las 20:21 +0200, Claudio Saavedra escribió: > El jue, 11-02-2010 a las 11:41 -0300, Gustavo R

Re: How I can do Double Buffer without OpenGL Ext?

2010-02-11 Thread Claudio Saavedra
El jue, 11-02-2010 a las 11:41 -0300, Gustavo Rojas escribió: > Hi, > > I'm working in avoid the flicker when i paint my widget draw area. Then my > questions are the following: > How i can to do double buffer? Strictly speaking, all GTK+ widgets have double buffer support enabled by default (see

RE: How I can do Double Buffer without OpenGL Ext?

2010-02-11 Thread Shawn Bakhtiar
Well in the good old days, when we did have all these fancy smancy libraries ( :P ) we use to double buffer graphics by drawing to an off screen bitmap or any compatible context (to that of the screen) and then simply copy that context to the screen. I.E. 1) Create a new GtkBitmap, 2) Draw