How are you drawing ?
You need to draw in the paint loop.

See gdk_window_begin_paint_region and gdk_window_end_paint.
and
gdk_window_invalidate_rect
gdk_window_invalidate_region
gdk_window_process_updates



On 8/3/06, 강인표 <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I am testing the gtk+ over DirectFB now.
>
> When I executed the gtk appls over gtk+2.10.1, I couldn't draw the line and
> text.
>
> I knew that some _gdk_directfb_update() are commented out in
> ./gdk/directfb/gdkdrawable-directfb.c.
>
> Because _gdk_directfb_update() is commented out in gdk_directfb_draw_lines()
> and gdk_directfb_draw_segments() function,
>
> my gtk appls can't draw line using gdk_draw_line() API.
>
> In this case, gdk-directfb copy the line to only back buffer, and not flip
> update to frame buffer.
>
> I can't figure out why this function is commented out in spite of reading
> ChangeLog written by Mike.
>
> Mike, let me know why did you commented out this function please.
>
> Do you have better solution for using double buffering over DirectFB?
>
>
>
> Best Regards..
>
>
>
> =================================
>
>
> In-Pyo Kang (姜寅豹)
>
>
> S/W Lab.4, Mobile R&D Group 10
>
>
> Samsung Electronics
>
>
> ---------------------------------
>
>
> Tel : 82-31-301-7675
>
>
> Cel : 82-11-9825-7504
>
>
> E-mail : [EMAIL PROTECTED]
>
>
> =================================
>
>
>
>
>
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to