clutter/stage-view: Make get_refresh_rate() public

We'll need it in a follow-up commit

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1468>
This commit is contained in:
Robert Mader 2020-10-05 13:16:40 +02:00
parent fddd18cdd2
commit f7cef11515
2 changed files with 3 additions and 3 deletions

View File

@ -65,9 +65,6 @@ void clutter_stage_view_transform_rect_to_onscreen (ClutterStageView
void clutter_stage_view_schedule_update (ClutterStageView *view); void clutter_stage_view_schedule_update (ClutterStageView *view);
CLUTTER_EXPORT
float clutter_stage_view_get_refresh_rate (ClutterStageView *view);
void clutter_stage_view_notify_presented (ClutterStageView *view, void clutter_stage_view_notify_presented (ClutterStageView *view,
ClutterFrameInfo *frame_info); ClutterFrameInfo *frame_info);

View File

@ -79,4 +79,7 @@ ClutterFrameClock * clutter_stage_view_get_frame_clock (ClutterStageView *view);
CLUTTER_EXPORT CLUTTER_EXPORT
CoglScanout * clutter_stage_view_peek_scanout (ClutterStageView *view); CoglScanout * clutter_stage_view_peek_scanout (ClutterStageView *view);
CLUTTER_EXPORT
float clutter_stage_view_get_refresh_rate (ClutterStageView *view);
#endif /* __CLUTTER_STAGE_VIEW_H__ */ #endif /* __CLUTTER_STAGE_VIEW_H__ */