Lines Matching refs:other_context

59   GstGLContext *other_context;  member
123 gst_gl_insert_debug_marker (priv->other_context, "initializing redisplay"); in gtk_gst_gl_widget_init_redisplay()
152 gst_gl_overlay_compositor_new (priv->other_context); in gtk_gst_gl_widget_init_redisplay()
228 if (!priv->context || !priv->other_context) in gtk_gst_gl_widget_render()
231 gst_gl_context_activate (priv->other_context, TRUE); in gtk_gst_gl_widget_render()
237 _draw_black (priv->other_context); in gtk_gst_gl_widget_render()
249 _draw_black (priv->other_context); in gtk_gst_gl_widget_render()
254 gst_gl_insert_debug_marker (priv->other_context, "redrawing texture %u", in gtk_gst_gl_widget_render()
264 gst_gl_sync_meta_wait (sync_meta, priv->other_context); in gtk_gst_gl_widget_render()
283 gst_gl_insert_debug_marker (priv->other_context, "texture %u redrawn", in gtk_gst_gl_widget_render()
287 if (priv->other_context) in gtk_gst_gl_widget_render()
288 gst_gl_context_activate (priv->other_context, FALSE); in gtk_gst_gl_widget_render()
298 const GstGLFuncs *gl = priv->other_context->gl_vtable; in _reset_gl()
307 gst_gl_context_activate (priv->other_context, TRUE); in _reset_gl()
332 gst_gl_context_activate (priv->other_context, FALSE); in _reset_gl()
334 gst_object_unref (priv->other_context); in _reset_gl()
335 priv->other_context = NULL; in _reset_gl()
349 if (priv->other_context) in gtk_gst_gl_widget_finalize()
424 if (priv->other_context) in _get_gl_context()
425 gst_object_unref (priv->other_context); in _get_gl_context()
426 priv->other_context = NULL; in _get_gl_context()
463 priv->other_context = in _get_gl_context()
475 priv->other_context = in _get_gl_context()
485 if (priv->other_context) { in _get_gl_context()
489 priv->other_context); in _get_gl_context()
490 gst_gl_context_activate (priv->other_context, TRUE); in _get_gl_context()
491 if (!gst_gl_context_fill_info (priv->other_context, &error)) { in _get_gl_context()
494 g_object_unref (priv->other_context); in _get_gl_context()
495 priv->other_context = NULL; in _get_gl_context()
497 gst_gl_context_activate (priv->other_context, FALSE); in _get_gl_context()
521 if (priv->display && priv->gdk_context && priv->other_context) { in gtk_gst_gl_widget_init_winsys()
527 if (!priv->other_context) { in gtk_gst_gl_widget_init_winsys()
533 if (!GST_IS_GL_CONTEXT (priv->other_context)) { in gtk_gst_gl_widget_init_winsys()
540 if (!gst_gl_display_create_context (priv->display, priv->other_context, in gtk_gst_gl_widget_init_winsys()
559 if (!gst_widget->priv->other_context) in gtk_gst_gl_widget_get_gtk_context()
562 return gst_object_ref (gst_widget->priv->other_context); in gtk_gst_gl_widget_get_gtk_context()