Re: blit'n



Hi,

Billy Patton <bpatton dal asp ti com> writes:

> At the end of this function I do a 
> 
> gdk_draw_pixmap(drawing_area->window,gc,pixmap,0,0,0,0,canvas_x,canvas_y);
> 
> 
> I take it that this is my blitting.  Problem is I may call this draw_cell
> several hundred thousand times.  SO this is ver slow.
> 
> Should this draw_pixmap be placed after the call to draw_cell
> so that blitting is done only once?

yes.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]