diff --git a/cogl/cogl/cogl-frame-info-private.h b/cogl/cogl/cogl-frame-info-private.h index 16d393e1c..f0324f251 100644 --- a/cogl/cogl/cogl-frame-info-private.h +++ b/cogl/cogl/cogl-frame-info-private.h @@ -43,8 +43,6 @@ struct _CoglFrameInfo float refresh_rate; int64_t global_frame_counter; - - CoglOutput *output; }; CoglFrameInfo *_cogl_frame_info_new (void); diff --git a/cogl/cogl/cogl-frame-info.c b/cogl/cogl/cogl-frame-info.c index 0455db1c1..1071495a0 100644 --- a/cogl/cogl/cogl-frame-info.c +++ b/cogl/cogl/cogl-frame-info.c @@ -72,12 +72,6 @@ cogl_frame_info_get_refresh_rate (CoglFrameInfo *info) return info->refresh_rate; } -CoglOutput * -cogl_frame_info_get_output (CoglFrameInfo *info) -{ - return info->output; -} - int64_t cogl_frame_info_get_global_frame_counter (CoglFrameInfo *info) { diff --git a/cogl/cogl/cogl-frame-info.h b/cogl/cogl/cogl-frame-info.h index e35336b00..8acbb34bd 100644 --- a/cogl/cogl/cogl-frame-info.h +++ b/cogl/cogl/cogl-frame-info.h @@ -126,20 +126,6 @@ int64_t cogl_frame_info_get_presentation_time (CoglFrameInfo *info); COGL_EXPORT float cogl_frame_info_get_refresh_rate (CoglFrameInfo *info); -/** - * cogl_frame_info_get_output: - * @info: a #CoglFrameInfo object - * - * Gets the #CoglOutput that the swapped frame was presented to. - * - * Return value: (transfer none): The #CoglOutput that the frame was - * presented to, or %NULL if this could not be determined. - * Since: 1.14 - * Stability: unstable - */ -COGL_EXPORT CoglOutput * -cogl_frame_info_get_output (CoglFrameInfo *info); - /** * cogl_frame_info_get_global_frame_counter: (skip) */ diff --git a/cogl/cogl/winsys/cogl-winsys-glx.c b/cogl/cogl/winsys/cogl-winsys-glx.c index c2deaeb8b..86d5acd05 100644 --- a/cogl/cogl/winsys/cogl-winsys-glx.c +++ b/cogl/cogl/winsys/cogl-winsys-glx.c @@ -1662,8 +1662,6 @@ set_frame_info_output (CoglOnscreen *onscreen, { CoglFrameInfo *info = g_queue_peek_tail (&onscreen->pending_frame_infos); - info->output = output; - if (output) { float refresh_rate = cogl_output_get_refresh_rate (output);