diff --git a/video/out/vo.c b/video/out/vo.c index 043990c3cdd2f..50129fb306b36 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -1340,14 +1340,11 @@ double vo_get_display_fps(struct vo *vo) // vo_query_and_reset_events() can retrieve the events again. void vo_event(struct vo *vo, int event) { - MP_VERBOSE(vo, "### 1343 - vo.c: %d\n", event); struct vo_internal *in = vo->in; mp_mutex_lock(&in->lock); if ((in->queued_events & event & VO_EVENTS_USER) != (event & VO_EVENTS_USER)) - MP_VERBOSE(vo, "### 1347 - vo.c: %d\n", event); wakeup_core(vo); if (event) - MP_VERBOSE(vo, "### 1350 - vo.c: %d\n", event); wakeup_locked(vo); in->queued_events |= event; in->internal_events |= event; diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index cbe10adf62516..1dc1b181ae8c6 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1141,27 +1141,20 @@ static int query_format(struct vo *vo, int format) static void resize(struct vo *vo) { - MP_VERBOSE(vo, "### vo_gpu_next.c 1144: %dx%d)\n", vo->dwidth, vo->dheight); - struct priv *p = vo->priv; struct mp_rect src, dst; struct mp_osd_res osd; vo_get_src_dst_rects(vo, &src, &dst, &osd); if (vo->dwidth && vo->dheight) { - MP_VERBOSE(vo, "### vo_gpu_next.c 1151: %dx%d)\n", vo->dwidth, vo->dheight); gpu_ctx_resize(p->context, vo->dwidth, vo->dheight); vo->want_redraw = true; } - MP_VERBOSE(vo, "### vo_gpu_next.c 1156 - mp_rect_equals(&p->src, &src): %s\n", mp_rect_equals(&p->src, &src) ? "true" : "false"); - MP_VERBOSE(vo, "### vo_gpu_next.c 1156 - mp_rect_equals(&p->dst, &dst): %s\n", mp_rect_equals(&p->dst, &dst) ? "true" : "false"); - MP_VERBOSE(vo, "### vo_gpu_next.c 1156 - osd_res_equals(p->osd_res, osd): %s\n", osd_res_equals(p->osd_res, osd) ? "true" : "false"); if (mp_rect_equals(&p->src, &src) && mp_rect_equals(&p->dst, &dst) && osd_res_equals(p->osd_res, osd)) return; - MP_VERBOSE(vo, "### vo_gpu_next.c 1161: %dx%d)\n", vo->dwidth, vo->dheight); p->osd_sync++; p->osd_res = osd; p->src = src; diff --git a/video/out/vulkan/context_moltenvk.m b/video/out/vulkan/context_moltenvk.m index f906076d24776..aeb747de441f8 100644 --- a/video/out/vulkan/context_moltenvk.m +++ b/video/out/vulkan/context_moltenvk.m @@ -41,8 +41,6 @@ - (id)initWithContext: (struct ra_ctx*) ctx - (void)layoutSublayersOfLayer: (CALayer*) layer { - MP_MSG(_ra_ctx, MSGL_V, "### MetalLayerDelegate > Called layoutSublayersOfLayer\n"); - moltenvk_reconfig(_ra_ctx); } @@ -110,11 +108,6 @@ static bool moltenvk_reconfig(struct ra_ctx *ctx) struct priv *p = ctx->priv; CGSize s = p->layer.drawableSize; ra_vk_ctx_resize(ctx, s.width, s.height); - vo_event(ctx->vo, VO_EVENT_RESIZE); - vo_event(ctx->vo, VO_EVENT_EXPOSE); - vo_event(ctx->vo, VO_EVENT_WIN_STATE); - vo_wakeup(ctx->vo); - MP_MSG(ctx, MSGL_V, "Width: %f, Height: %f ### Called resize\n", s.width, s.height); return true; }