clutter: Remove unused time_us parameter from ClutterFrameListenerIface

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2161>
This commit is contained in:
Daniel van Vugt 2021-12-15 17:06:54 +08:00 committed by Marge Bot
parent 7e3d1e26a1
commit 44c09dcefe
5 changed files with 0 additions and 13 deletions

View File

@ -650,7 +650,6 @@ clutter_frame_clock_dispatch (ClutterFrameClock *frame_clock,
COGL_TRACE_BEGIN (ClutterFrameClockFrame, "Frame Clock (frame)"); COGL_TRACE_BEGIN (ClutterFrameClockFrame, "Frame Clock (frame)");
result = frame_clock->listener.iface->frame (frame_clock, result = frame_clock->listener.iface->frame (frame_clock,
frame_count, frame_count,
time_us,
frame_clock->listener.user_data); frame_clock->listener.user_data);
COGL_TRACE_END (ClutterFrameClockFrame); COGL_TRACE_END (ClutterFrameClockFrame);

View File

@ -50,7 +50,6 @@ typedef struct _ClutterFrameListenerIface
gpointer user_data); gpointer user_data);
ClutterFrameResult (* frame) (ClutterFrameClock *frame_clock, ClutterFrameResult (* frame) (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data); gpointer user_data);
} ClutterFrameListenerIface; } ClutterFrameListenerIface;

View File

@ -1146,7 +1146,6 @@ end_frame_timing_measurement (ClutterStageView *view)
static ClutterFrameResult static ClutterFrameResult
handle_frame_clock_frame (ClutterFrameClock *frame_clock, handle_frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
ClutterStageView *view = user_data; ClutterStageView *view = user_data;

View File

@ -7,7 +7,6 @@ static const int64_t refresh_interval_us = G_USEC_PER_SEC / refresh_rate;
static ClutterFrameResult static ClutterFrameResult
timeline_frame_clock_frame (ClutterFrameClock *frame_clock, timeline_frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
ClutterFrameInfo frame_info; ClutterFrameInfo frame_info;

View File

@ -92,7 +92,6 @@ fake_hw_clock_new (ClutterFrameClock *frame_clock,
static ClutterFrameResult static ClutterFrameResult
frame_clock_frame (ClutterFrameClock *frame_clock, frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
FrameClockTest *test = user_data; FrameClockTest *test = user_data;
@ -187,7 +186,6 @@ schedule_update_idle (gpointer user_data)
static ClutterFrameResult static ClutterFrameResult
immediate_frame_clock_frame (ClutterFrameClock *frame_clock, immediate_frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
GMainLoop *main_loop = user_data; GMainLoop *main_loop = user_data;
@ -262,7 +260,6 @@ schedule_update_timeout (gpointer user_data)
static ClutterFrameResult static ClutterFrameResult
delayed_damage_frame_clock_frame (ClutterFrameClock *frame_clock, delayed_damage_frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
FrameClockTest *test = user_data; FrameClockTest *test = user_data;
@ -336,7 +333,6 @@ frame_clock_delayed_damage (void)
static ClutterFrameResult static ClutterFrameResult
no_damage_frame_clock_frame (ClutterFrameClock *frame_clock, no_damage_frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
g_assert_not_reached (); g_assert_not_reached ();
@ -390,7 +386,6 @@ typedef struct _UpdateNowFrameClockTest
static ClutterFrameResult static ClutterFrameResult
update_now_frame_clock_frame (ClutterFrameClock *frame_clock, update_now_frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
UpdateNowFrameClockTest *test = user_data; UpdateNowFrameClockTest *test = user_data;
@ -497,7 +492,6 @@ before_frame_frame_clock_before_frame (ClutterFrameClock *frame_clock,
static ClutterFrameResult static ClutterFrameResult
before_frame_frame_clock_frame (ClutterFrameClock *frame_clock, before_frame_frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
int64_t *expected_frame_count = user_data; int64_t *expected_frame_count = user_data;
@ -567,7 +561,6 @@ typedef struct _InhibitTest
static ClutterFrameResult static ClutterFrameResult
inhibit_frame_clock_frame (ClutterFrameClock *frame_clock, inhibit_frame_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
InhibitTest *test = user_data; InhibitTest *test = user_data;
@ -645,7 +638,6 @@ typedef struct _RescheduleOnIdleFrameClockTest
static ClutterFrameResult static ClutterFrameResult
reschedule_on_idle_clock_frame (ClutterFrameClock *frame_clock, reschedule_on_idle_clock_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
RescheduleOnIdleFrameClockTest *test = user_data; RescheduleOnIdleFrameClockTest *test = user_data;
@ -773,7 +765,6 @@ notify_ready_and_schedule_update_idle (gpointer user_data)
static ClutterFrameResult static ClutterFrameResult
frame_clock_ready_frame (ClutterFrameClock *frame_clock, frame_clock_ready_frame (ClutterFrameClock *frame_clock,
int64_t frame_count, int64_t frame_count,
int64_t time_us,
gpointer user_data) gpointer user_data)
{ {
GMainLoop *main_loop = user_data; GMainLoop *main_loop = user_data;