Re: Heads-up: Potentially breaking changes to the GDK drawing model pushed
- From: Jean Brefort <jean brefort normalesup org>
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, Morten Welinder <mortenw gnome org>
- Subject: Re: Heads-up: Potentially breaking changes to the GDK drawing model pushed
- Date: Sat, 21 Jun 2014 16:02:37 +0200
Le samedi 21 juin 2014 à 09:55 -0400, Paul Davis a écrit :
On Sat, Jun 21, 2014 at 9:44 AM, Jean Brefort
<jean brefort normalesup org> wrote:
Both abiword and gnumeric do something like:
cr = gdk_cairo_create(win);
...do some drawing
then relase the cairo.
Will this still work if we use
gdk_window_begin_paint_rect (win, rect);
cr = gdk_cairo_create (win);
...do some drawing
gdk_window_end_paint (win);
you're drawing on the window outside of an expose/draw event?
Yes, because using draw events presents serious performance issues.
Jean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]