tests/clutter: Add frame clock timeline test case
Tests basic functionality such as that timelines are advanced after having added themself to frame clock. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285
This commit is contained in:
@ -168,6 +168,18 @@ gboolean clutter_test_check_color_at_point (ClutterActor
|
||||
const ClutterColor *color,
|
||||
ClutterColor *result);
|
||||
|
||||
static inline uint64_t
|
||||
us (uint64_t us)
|
||||
{
|
||||
return us;
|
||||
}
|
||||
|
||||
static inline uint64_t
|
||||
ms2us (uint64_t ms)
|
||||
{
|
||||
return us (ms * 1000);
|
||||
}
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __CLUTTER_TEST_UTILS_H__ */
|
||||
|
Reference in New Issue
Block a user