gtk/tests
Owen W. Taylor a69285da08 Compress motion synchronized with the paint cycle
When we have pending motion events, instead of delivering them
directly, request the new FLUSH_EVENTS phase of the frame clock.
This allows us to compress repeated motion events sent to the
same window.

In the FLUSH_EVENTS phase, which occur at priority GDK_PRIORITY_EVENTS + 1,
we deliver any pending motion events then turn off event delivery
until the end of the next frame. Turning off event delivery means
that we'll reliably paint the compressed motion events even if more
have arrived.

Add a motion-compression test case which demonstrates behavior when
an application takes too long handle motion events. It is unusable
without this patch but behaves fine with the patch.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
2013-02-14 17:19:49 -05:00
..
a11y Add a test for setting accessible name from gtkbuilder 2013-02-10 15:47:08 -05:00
css Add git.mk to more places 2013-01-24 17:47:34 -05:00
dummy-headers
reftests css: Add opacity reftest 2013-02-07 11:12:21 +01:00
test-images
visuals Add git.mk to more places 2013-01-24 17:47:34 -05:00
3DRings.xpm
animated-resizing.c Add a test of an animated resizing window 2013-02-14 17:19:49 -05:00
apple-red.png
autotestfilesystem.c Change FSF Address 2012-02-27 17:06:11 +00:00
autotestkeywords.cc
check-n.xpm
check-y.xpm
FilesQueue.xpm
flicker.c Don't use gtk_set_locale 2010-12-21 12:07:02 -05:00
gnome-textfile.png
gradient1.png Make styleexamples work 2011-01-03 12:34:23 -05:00
gtkoffscreenbox.c tests: Remove useless calls to gtk_widget_style_attach() 2011-01-11 16:46:59 +01:00
gtkoffscreenbox.h
Makefile.am Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
makefile.msc win32: msvc build update 2011-02-06 15:07:12 +01:00
marble.xpm
merge-1.ui
merge-2.ui
merge-3.ui
Modeller.xpm
motion-compression.c Compress motion synchronized with the paint cycle 2013-02-14 17:19:49 -05:00
print-editor.c tests: Convert print-editor from GtkTable to GtkBox 2011-09-28 05:29:49 +02:00
prop-editor.c Don't use gtk_scrolled_window_add_with_viewport() in tests 2013-02-01 22:58:55 -05:00
prop-editor.h Change FSF Address 2012-02-27 17:06:11 +00:00
simple.c Change FSF Address 2012-02-27 17:06:11 +00:00
stresstest-toolbar.c Change FSF Address 2012-02-27 17:06:11 +00:00
styleexamples.c css: Remove old animation code 2012-04-17 08:59:19 +02:00
test.xpm
testaccel.c Change FSF Address 2012-02-27 17:06:11 +00:00
testactions.c Change FSF Address 2012-02-27 17:06:11 +00:00
testadjustsize.c Change FSF Address 2012-02-27 17:06:11 +00:00
testanimation.c Change FSF Address 2012-02-27 17:06:11 +00:00
testappchooser.c tests: Include config.h 2012-11-06 21:29:58 +01:00
testappchooserbutton.c tests: Include config.h 2012-11-06 21:29:58 +01:00
testapplication.desktop
testassistant.c Change FSF Address 2012-02-27 17:06:11 +00:00
testbbox.c Change FSF Address 2012-02-27 17:06:11 +00:00
testboxcss.c Change FSF Address 2012-02-27 17:06:11 +00:00
testbuttons.c Change FSF Address 2012-02-27 17:06:11 +00:00
testcairo.c Change FSF Address 2012-02-27 17:06:11 +00:00
testcalendar.c tests: Don't call to-be-deprecated function 2012-12-06 02:57:18 +01:00
testcellarea.c tests: Make testcellarea use an iconview 2012-05-07 00:12:26 +02:00
testcellrenderertext.c Change FSF Address 2012-02-27 17:06:11 +00:00
testclipboard.c Change FSF Address 2012-02-27 17:06:11 +00:00
testcolorchooser.c API: colorchooser: Use GtkOrientation for orientation 2012-03-07 03:11:05 +01:00
testcombo.c Change FSF Address 2012-02-27 17:06:11 +00:00
testcombochange.c Change FSF Address 2012-02-27 17:06:11 +00:00
testdnd.c Change FSF Address 2012-02-27 17:06:11 +00:00
testellipsise.c Change FSF Address 2012-02-27 17:06:11 +00:00
testentrycompletion.c Change FSF Address 2012-02-27 17:06:11 +00:00
testentryicons.c tests: Convert testentryicons example from GtkTable to GtkGrid 2011-09-28 05:29:50 +02:00
testerrors.c Change FSF Address 2012-02-27 17:06:11 +00:00
testexpand.c Change FSF Address 2012-02-27 17:06:11 +00:00
testexpander.c
testfilechooser.c Test folder filtering 2012-07-15 00:41:49 -04:00
testfilechooserbutton.c Change FSF Address 2012-02-27 17:06:11 +00:00
testfontchooser.c Change FSF Address 2012-02-27 17:06:11 +00:00
testfontchooserdialog.c Change FSF Address 2012-02-27 17:06:11 +00:00
testfontselection.c Change FSF Address 2012-02-27 17:06:11 +00:00
testfontselectiondialog.c Change FSF Address 2012-02-27 17:06:11 +00:00
testframe.c Change FSF Address 2012-02-27 17:06:11 +00:00
testfullscreen.c tests: add a test for fullscreen mode 2013-01-25 13:16:57 +01:00
testgeometry.c tests: return 0; from main() 2013-01-08 12:23:52 +01:00
testgiconpixbuf.c Change FSF Address 2012-02-27 17:06:11 +00:00
testgmenu.c Change FSF Address 2012-02-27 17:06:11 +00:00
testgrid.c testgrid: add a testcase 2012-03-24 17:19:58 -04:00
testgrouping.c
testgtk2.css Make testgtk load CSS for custom styling. 2010-12-04 15:39:07 +01:00
testgtk.1
testgtk.c Add widget transparency test to testgtk 2013-02-07 11:11:38 +01:00
testgtk.css Revert "WIP: make GtkNotebook window-draggable" 2012-04-28 02:06:37 -04:00
testheightforwidth.c Change FSF Address 2012-02-27 17:06:11 +00:00
testicontheme.c Add gtk_icon_info_load_icon_async 2013-02-14 22:10:09 +01:00
testiconview-keynav.c Change FSF Address 2012-02-27 17:06:11 +00:00
testiconview.c Use gdk_event_triggers_context_menu() instead of checking for event->button == 3 2012-03-13 13:10:30 +00:00
testimage.c Change FSF Address 2012-02-27 17:06:11 +00:00
testinput.c testinput: Fix cursor rendering 2012-04-03 11:37:41 +02:00
testkineticscrolling.c Don't use gtk_scrolled_window_add_with_viewport() in tests 2013-02-01 22:58:55 -05:00
testlockbutton.c Change FSF Address 2012-02-27 17:06:11 +00:00
testlogout.c GtkApplication: remove end session API 2012-02-21 01:23:01 +01:00
testmenubars.c fix the build 2012-05-25 23:14:02 -04:00
testmenubutton.c tests: Add accelerator example to testmenubutton 2012-09-12 18:14:50 +01:00
testmerge.c Use gdk_event_triggers_context_menu() instead of checking for event->button == 3 2012-03-13 13:10:30 +00:00
testmountoperation.c Change FSF Address 2012-02-27 17:06:11 +00:00
testmultidisplay.c Change FSF Address 2012-02-27 17:06:11 +00:00
testmultiscreen.c Change FSF Address 2012-02-27 17:06:11 +00:00
testnoscreen.c Change FSF Address 2012-02-27 17:06:11 +00:00
testnotebookdnd.c Change FSF Address 2012-02-27 17:06:11 +00:00
testnouiprint.c Bump GLib dependency to 2.35 2012-11-04 13:01:38 -05:00
testnumerableicon.c Change FSF Address 2012-02-27 17:06:11 +00:00
testoffscreen.c Use G_SOURCE_CONTINUE/REMOVE 2012-01-30 19:12:27 -05:00
testoffscreenwindow.c
testorientable.c Change FSF Address 2012-02-27 17:06:11 +00:00
testoverlay.c overlay: add initial version of gtkoverlay 2011-06-12 23:27:18 -04:00
testoverlaystyleclass.c Don't use gtk_scrolled_window_add_with_viewport() in tests 2013-02-01 22:58:55 -05:00
testpixbuf-color.c Move demos around 2011-05-26 00:32:31 -04:00
testpixbuf-save.c Move demos around 2011-05-26 00:32:31 -04:00
testpixbuf-scale.c Move demos around 2011-05-26 00:32:31 -04:00
testprint.c Change FSF Address 2012-02-27 17:06:11 +00:00
testprintfileoperation.c
testprintfileoperation.h
testrc.c Change FSF Address 2012-02-27 17:06:11 +00:00
testrecentchooser.c Change FSF Address 2012-02-27 17:06:11 +00:00
testrecentchoosermenu.c Change FSF Address 2012-02-27 17:06:11 +00:00
testrichtext.c Change FSF Address 2012-02-27 17:06:11 +00:00
testscale.c testscale: add a test for up/leftwards scales 2012-06-12 09:54:33 -04:00
testscrolledwindow.c tests: Add checkbox to enable kinetic scrolling in scrolled window test 2012-03-01 16:25:22 -05:00
testselection.c Change FSF Address 2012-02-27 17:06:11 +00:00
testsensitive.c Add a testcase for state propagation problems 2011-02-06 14:14:48 -05:00
testsocket_child.c Change FSF Address 2012-02-27 17:06:11 +00:00
testsocket_common.c Change FSF Address 2012-02-27 17:06:11 +00:00
testsocket.c Change FSF Address 2012-02-27 17:06:11 +00:00
testspinbutton.c Make spinbutton orientable 2012-09-03 11:45:51 -04:00
teststatusicon.c Change FSF Address 2012-02-27 17:06:11 +00:00
testswitch.c Add GtkSwitch, a "light-switch" like widget 2010-11-29 12:52:10 +00:00
testtextview.c Adding more traditional checkered background to testtextview. 2011-05-06 17:05:35 -04:00
testthreads.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtoolbar.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtooltips.c Removed all variables from GtkTreeViewColumn and created GtkTreeViewColumnPrivate 2010-12-05 22:11:08 +09:00
testtoplevelembed.c tests: return 0; from main() 2013-01-08 12:23:52 +01:00
testtreechanging.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtreecolumns.c tests: fix testtreecolumns not to segfault at startup 2012-09-27 16:54:40 -04:00
testtreecolumnsizing.c gtk: remove "gboolean homogeneous" from gtk_box_new() 2010-11-02 12:04:35 +09:00
testtreeedit.c cellrenderertext: Add placeholder-text property 2012-05-03 23:35:34 -04:00
testtreeflow.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtreefocus.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtreemenu.c tests: Remove unused include 2012-05-07 00:16:45 +02:00
testtreemodel.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtreepos.c Demonstrate the problem with a workaround 2011-02-05 10:58:50 -05:00
testtreesort.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtreeview-plan.txt
testtreeview.c Add a simple test for activate on single click 2013-01-20 16:49:30 -05:00
testverticalcells.c Change FSF Address 2012-02-27 17:06:11 +00:00
testvolumebutton.c Change FSF Address 2012-02-27 17:06:11 +00:00
testwindows.c testwindows: Add a button to cause a repaint 2011-12-01 22:03:51 +01:00
testxinerama.c Change FSF Address 2012-02-27 17:06:11 +00:00
treestoretest.c Change FSF Address 2012-02-27 17:06:11 +00:00