1
0
Fork 0
mutter-performance-source/clutter/clutter
Dor Askayo 01846ffd91 clutter/frame-clock: Simplify early presented event handling
A few calculations and assignments are done unnecessarily when the
last next presentation time is invalid. This increases the cognitive
complexity of the function for no reason.

No change in behavior.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2486>
2022-09-02 13:54:30 +00:00
..
cally clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
deprecated clutter/box-layout: Deprecate :pack-start 2022-01-07 21:14:09 +00:00
clutter-action-private.h clutter: Add handle_event vfunc to ClutterAction 2021-10-29 00:27:18 +02:00
clutter-action.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-action.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-actor-box-private.h
clutter-actor-box.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-actor-meta-private.h
clutter-actor-meta.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-actor-meta.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-actor-private.h clutter: Carry accounting of grabs in the ClutterActors holding them 2022-01-11 16:13:39 +00:00
clutter-actor.c clutter/actor: Add detail to ::event signal 2022-08-24 22:19:15 +00:00
clutter-actor.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-align-constraint.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-align-constraint.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-animatable.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-animatable.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-autocleanups.h clutter/image: Port to G_DECLARE_DERIVABLE_TYPE 2022-05-31 16:28:13 -03:00
clutter-backend-private.h clutter: Remove 'features' 2022-06-03 12:57:31 +00:00
clutter-backend.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-backend.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-base-types.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-bezier.c clutter: Stop using GSlice 2021-02-22 13:52:27 +01:00
clutter-bezier.h
clutter-bin-layout.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-bin-layout.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-bind-constraint.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-bind-constraint.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-binding-pool.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-binding-pool.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-blur-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-blur-effect.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-blur-private.h clutter/blur: Make sigma a float 2020-12-17 13:21:50 +00:00
clutter-blur.c clutter/blur: Select a better n_steps 2020-12-17 13:21:50 +00:00
clutter-box-layout.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-box-layout.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-brightness-contrast-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-brightness-contrast-effect.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-build-config.h.meson clutter: Remove leftovers from backend code in build system 2021-07-16 19:08:06 +02:00
clutter-cairo.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-cairo.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-canvas.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-canvas.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-child-meta.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-child-meta.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-click-action.c clutter/click-action: Don't stop release events if gesture is inactive 2022-08-25 00:28:41 +00:00
clutter-click-action.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-clone.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-clone.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-color-state.c clutter: Attach color state information to actors 2022-06-09 15:00:07 +00:00
clutter-color-state.h clutter: Attach color state information to actors 2022-06-09 15:00:07 +00:00
clutter-color-static.h
clutter-color.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-color.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-colorize-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-colorize-effect.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-constraint-private.h clutter: Make clutter_contraint_update_preferred_size() public 2020-02-19 11:57:05 +00:00
clutter-constraint.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-constraint.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-container-private.h clutter: avoid g_signal_emit_by_name() from ClutterActor 2020-02-24 22:36:27 +00:00
clutter-container.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-container.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-content-private.h clutter: Introduce paint contexts 2019-12-03 19:02:14 +00:00
clutter-content.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-content.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-damage-history.c clutter/stage-cogl: Extract damage history logic 2020-05-26 13:54:28 +00:00
clutter-damage-history.h clutter: Make ClutterDamageHistory API public to mutter 2021-07-16 19:08:06 +02:00
clutter-debug.h clutter: Don't log filenames in debugging mode 2022-05-04 19:36:46 +00:00
clutter-deform-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-deform-effect.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-deprecated.h clutter/box-layout: Deprecate :pack-start 2022-01-07 21:14:09 +00:00
clutter-desaturate-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-desaturate-effect.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-easing.c
clutter-easing.h
clutter-effect-private.h clutter/effect: Move ClutterEffect creation to ClutterActor 2020-12-15 12:07:57 -03:00
clutter-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-effect.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-enum-types.c.in clutter: Drop "volatile" from static GTypes in manual registration 2021-03-22 10:47:51 +00:00
clutter-enum-types.h.in
clutter-enums.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-event-private.h clutter: Pass target actor of events to event filter functions 2022-03-21 23:08:40 +00:00
clutter-event.c clutter: Add source field to crossing events 2022-08-24 22:43:54 +00:00
clutter-event.h clutter: Add source field to crossing events 2022-08-24 22:43:54 +00:00
clutter-feature.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-fixed-layout.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-fixed-layout.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-flatten-effect.c
clutter-flatten-effect.h
clutter-flow-layout.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-flow-layout.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-frame-clock.c clutter/frame-clock: Simplify early presented event handling 2022-09-02 13:54:30 +00:00
clutter-frame-clock.h clutter: Remove unused time_us parameter from ClutterFrameListenerIface 2022-01-05 15:57:45 +00:00
clutter-frame-private.h clutter: Introduce ClutterFrame 2021-01-22 16:47:08 +00:00
clutter-frame.c clutter: Introduce ClutterFrame 2021-01-22 16:47:08 +00:00
clutter-frame.h clutter: Introduce ClutterFrame 2021-01-22 16:47:08 +00:00
clutter-gesture-action-private.h
clutter-gesture-action.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-gesture-action.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-grab.h clutter: Add docs and introspection annotations to grabs 2022-01-29 00:37:14 +00:00
clutter-graphene.c clutter: Register progress function for graphene_matrix_t 2020-10-06 15:34:47 +00:00
clutter-graphene.h
clutter-grid-layout.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-grid-layout.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-id-pool.c clutter: Stop using GSlice 2021-02-22 13:52:27 +01:00
clutter-id-pool.h
clutter-image.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-image.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-input-device-private.h clutter: Remove input device grabs 2022-01-29 02:11:37 +01:00
clutter-input-device-tool.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-input-device-tool.h clutter: Make axes part of the device tool 2020-11-27 15:14:33 +00:00
clutter-input-device.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-input-device.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-input-focus-private.h clutter: Pass anchor position to ClutterInputFocus 2022-07-19 11:04:56 +00:00
clutter-input-focus.c clutter: Pass anchor position to ClutterInputFocus 2022-07-19 11:04:56 +00:00
clutter-input-focus.h clutter: Pass anchor position to ClutterInputFocus 2022-07-19 11:04:56 +00:00
clutter-input-method-private.h
clutter-input-method.c clutter: Let ClutterInputMethods pass the anchor position for preedit text 2022-07-19 11:04:56 +00:00
clutter-input-method.h clutter: Let ClutterInputMethods pass the anchor position for preedit text 2022-07-19 11:04:56 +00:00
clutter-input-pointer-a11y-private.h display: Get the backend from the context 2022-04-29 18:58:38 +00:00
clutter-input-pointer-a11y.c display: Get the backend from the context 2022-04-29 18:58:38 +00:00
clutter-interval.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-interval.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-keyframe-transition.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-keyframe-transition.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-keymap-private.h clutter/keymap: Make caps and num lock state properties 2021-03-04 17:39:08 +00:00
clutter-keymap.c clutter/keymap: Make caps and num lock state properties 2021-03-04 17:39:08 +00:00
clutter-keymap.h clutter/keymap: Make caps and num lock state properties 2021-03-04 17:39:08 +00:00
clutter-keysyms-table.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-keysyms-update.pl *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
clutter-keysyms.h
clutter-layout-manager.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-layout-manager.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-layout-meta.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-layout-meta.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-macros.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-main.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-main.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-marshal.list
clutter-mutter.h clutter: Store the per-pointer picked actor's clear area 2021-12-07 20:04:08 +00:00
clutter-offscreen-effect-private.h
clutter-offscreen-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-offscreen-effect.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-page-turn-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-page-turn-effect.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-paint-context-private.h clutter/stage: Use multiple frusta depending on the redraw clip 2020-10-16 13:46:23 -03:00
clutter-paint-context.c clutter/stage: Use multiple frusta depending on the redraw clip 2020-10-16 13:46:23 -03:00
clutter-paint-context.h screen-cast/area-src: Clear framebuffer before painting stage 2020-09-30 15:56:07 +00:00
clutter-paint-node-private.h Explicitly create the clutter context and backend 2021-10-18 14:36:15 +00:00
clutter-paint-node.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-paint-node.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-paint-nodes.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-paint-nodes.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-paint-volume-private.h clutter: Stop using GSlice 2021-02-22 13:52:27 +01:00
clutter-paint-volume.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-pan-action.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-pan-action.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-path-constraint.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-path-constraint.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-path.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-path.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-pick-context-private.h clutter/actor: Cull out when picking 2020-11-25 16:34:29 +00:00
clutter-pick-context.c clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-pick-context.h clutter: Also log overlap regions in ClutterPickContext/Stack 2021-12-07 20:04:08 +00:00
clutter-pick-stack-private.h clutter: Calculate "safe area" during pointer pick 2021-12-07 20:04:08 +00:00
clutter-pick-stack.c clutter/pick-stack: Avoid uninitialized cairo_region_subtract_rectangle 2022-03-29 18:13:11 +08:00
clutter-private.h clutter: Remove 'features' 2022-06-03 12:57:31 +00:00
clutter-property-transition.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-property-transition.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-rotate-action.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-rotate-action.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-script-parser.c clutter: Stop using GSlice 2021-02-22 13:52:27 +01:00
clutter-script-private.h clutter: Remove ClutterAnimation 2020-05-07 20:04:07 +00:00
clutter-script.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-script.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-scriptable.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-scriptable.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-scroll-actor.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-scroll-actor.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-seat-private.h clutter: Add ClutterSeat private API to grab devices 2022-01-11 16:13:39 +00:00
clutter-seat.c clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-seat.h clutter/virtual-input-device: Add API to get seat 2022-01-17 09:48:51 +01:00
clutter-settings-private.h clutter: Move pointer a11y settings management from MetaInputSettings 2021-05-05 19:07:26 +00:00
clutter-settings.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-settings.h
clutter-shader-effect.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-shader-effect.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-shader-types.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-shader-types.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-snap-constraint.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-snap-constraint.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-stage-manager-private.h
clutter-stage-manager.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-stage-manager.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-stage-private.h clutter/stage: Add function to maybe invalidate pointers on an actor 2022-07-26 14:18:13 +00:00
clutter-stage-view-private.h clutter/stage-view: Defer and accumulate redraw-clip on scanout 2022-08-02 12:54:18 +02:00
clutter-stage-view.c clutter/stage-view: Add API to check if a shadowfb is used 2022-09-01 20:40:35 +00:00
clutter-stage-view.h clutter/stage-view: Add API to check if a shadowfb is used 2022-09-01 20:40:35 +00:00
clutter-stage-window.c clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-stage-window.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-stage.c clutter: Add source field to crossing events 2022-08-24 22:43:54 +00:00
clutter-stage.h clutter/stage: Add nullable annotation to get_*_actor methods 2022-08-10 10:47:51 +00:00
clutter-swipe-action.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-swipe-action.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-tap-action.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-tap-action.h clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-text-buffer.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-text-buffer.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-text.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-text.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-texture-content.c clutter: Migrate to gi-docgen 2022-08-02 09:52:22 +02:00
clutter-texture-content.h clutter: Add new ClutterContent type ClutterTextureContent 2021-06-29 21:36:43 +00:00
clutter-timeline-private.h clutter/master-clock: Move out private timeline declarations 2020-07-02 19:36:50 +02:00
clutter-timeline.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-timeline.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-transition-group.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-transition-group.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-transition.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-transition.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-types.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-units.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-units.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-util.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-virtual-input-device.c clutter/virtual-input-device: Add API to get seat 2022-01-17 09:48:51 +01:00
clutter-virtual-input-device.h clutter/virtual-input-device: Add API to get seat 2022-01-17 09:48:51 +01:00
clutter-zoom-action.c clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter-zoom-action.h clutter: Remove all the since annotations 2022-08-02 09:52:22 +02:00
clutter.h clutter: Attach color state information to actors 2022-06-09 15:00:07 +00:00
meson.build clutter: Attach color state information to actors 2022-06-09 15:00:07 +00:00
mutter-clutter.pc.in