Pietro Incardona wrote: > > This is the code ( it draw one rectangle but the result don' t change ) I haven't looked at it, but probably the culprit is transferring the window pixels to the screen. When using OpenGL, for example, I have seen sometimes glTexImage2D taking more time than the rest of the drawing. Paolo