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

gEDA-cvs: pcb.git: branch: master updated (55210469f88f6e070e67341fcfa7d9183223d721)



The branch, master has been updated
       via  55210469f88f6e070e67341fcfa7d9183223d721 (commit)
      from  ea0558a0353948ea26bfb1eafd1b11db5d7fb2b0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/gtk/gtkhid-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


=================
 Commit Messages
=================

commit 55210469f88f6e070e67341fcfa7d9183223d721
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Make benchmark() implementation suit multiple drawing models
    
    Invalidate and process updates, rather than calling redraw directly.
    This suits the coming GL renderer which will use an invalidate/expose
    model.

:100644 100644 c77faaf... 28c10bc... M	src/hid/gtk/gtkhid-main.c

=========
 Changes
=========

commit 55210469f88f6e070e67341fcfa7d9183223d721
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Make benchmark() implementation suit multiple drawing models
    
    Invalidate and process updates, rather than calling redraw directly.
    This suits the coming GL renderer which will use an invalidate/expose
    model.

diff --git a/src/hid/gtk/gtkhid-main.c b/src/hid/gtk/gtkhid-main.c
index c77faaf..28c10bc 100644
--- a/src/hid/gtk/gtkhid-main.c
+++ b/src/hid/gtk/gtkhid-main.c
@@ -1562,8 +1562,8 @@ Benchmark (int argc, char **argv, int x, int y)
   time (&start);
   do
     {
-      hid_expose_callback (&ghid_hid, &region, 0);
-      gdk_display_sync (display);
+      ghid_invalidate_all ();
+      gdk_window_process_updates (gport->drawing_area->window, FALSE);
       time (&end);
       i++;
     }




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs