Home
last modified time | relevance | path

Searched refs:other_context (Results 1 – 25 of 34) sorted by relevance

12

/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgtkgstglwidget.c59 GstGLContext *other_context; member
133 gst_gl_insert_debug_marker (priv->other_context, "initializing redisplay"); in gtk_gst_gl_widget_init_redisplay()
164 gst_gl_overlay_compositor_new (priv->other_context); in gtk_gst_gl_widget_init_redisplay()
331 if (!priv->context || !priv->other_context) in gtk_gst_gl_widget_render()
334 gst_gl_context_activate (priv->other_context, TRUE); in gtk_gst_gl_widget_render()
340 _draw_black (priv->other_context); in gtk_gst_gl_widget_render()
352 _draw_black (priv->other_context); in gtk_gst_gl_widget_render()
357 gst_gl_insert_debug_marker (priv->other_context, "redrawing texture %u", in gtk_gst_gl_widget_render()
367 gst_gl_sync_meta_wait (sync_meta, priv->other_context); in gtk_gst_gl_widget_render()
386 gst_gl_insert_debug_marker (priv->other_context, "texture %u redrawn", in gtk_gst_gl_widget_render()
[all …]
/third_party/gstreamer/gstplugins_good/ext/qt/
Dqtwindow.cc71 GstGLContext *other_context; member
120 if (this->priv->other_context) in ~QtGLWindow()
121 gst_object_unref(this->priv->other_context); in ~QtGLWindow()
191 context = this->priv->other_context; in afterRendering()
287 &this->priv->other_context, &this->priv->context); in onSceneGraphInitialized()
289 if (this->priv->initted && this->priv->other_context) { in onSceneGraphInitialized()
292 gst_gl_context_activate (this->priv->other_context, TRUE); in onSceneGraphInitialized()
293 gl = this->priv->other_context->gl_vtable; in onSceneGraphInitialized()
297 gst_gl_context_activate (this->priv->other_context, FALSE); in onSceneGraphInitialized()
301 this->priv->other_context); in onSceneGraphInitialized()
[all …]
Dqtitem.cc81 GstGLContext *other_context; member
145 if (this->priv->other_context) in ~QtGLVideoItem()
146 gst_object_unref(this->priv->other_context); in ~QtGLVideoItem()
295 gst_gl_context_activate (this->priv->other_context, TRUE); in updatePaintNode()
609 &this->priv->other_context, &this->priv->context); in onSceneGraphInitialized()
612 this->priv->other_context); in onSceneGraphInitialized()
640 && qt_item->priv->other_context && qt_item->priv->context) { in initWinSys()
653 if (!GST_IS_GL_CONTEXT (qt_item->priv->other_context)) { in initWinSys()
655 qt_item->priv->other_context); in initWinSys()
667 if (!gst_gl_context_create (qt_item->priv->context, qt_item->priv->other_context, in initWinSys()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglbasemixer.c51 GstGLContext *other_context; member
182 &mix->priv->other_context)) in _get_gl_context_unlocked()
201 mix->priv->other_context, &mix->context, &error)) { in _get_gl_context_unlocked()
299 if (mix->priv->other_context) in gst_gl_base_mixer_sink_query()
300 other = gst_object_ref (mix->priv->other_context); in gst_gl_base_mixer_sink_query()
473 &mix->priv->other_context); in gst_gl_base_mixer_set_context()
501 &mix->priv->other_context)) { in gst_gl_base_mixer_activate()
551 if (mix->priv->other_context) in gst_gl_base_mixer_src_query()
552 other = gst_object_ref (mix->priv->other_context); in gst_gl_base_mixer_src_query()
645 &mix->priv->other_context)) in gst_gl_base_mixer_change_state()
[all …]
Dgstglimagesink.c986 _set_other_context (GstGLImageSink * gl_sink, GstGLContext * other_context) in _set_other_context() argument
989 if (gl_sink->other_context) in _set_other_context()
990 gst_object_unref (gl_sink->other_context); in _set_other_context()
992 gl_sink->other_context = other_context; in _set_other_context()
1017 GstGLContext *other_context = NULL; in _ensure_gl_setup() local
1027 if (gl_sink->other_context) { in _ensure_gl_setup()
1028 other_context = gst_object_ref (gl_sink->other_context); in _ensure_gl_setup()
1030 other_context = in _ensure_gl_setup()
1035 other_context, &context, &error)) { in _ensure_gl_setup()
1036 if (other_context) in _ensure_gl_setup()
[all …]
Dgstglstereosplit.c180 &stereosplit->other_context); in stereosplit_set_context()
218 &stereosplit->other_context)) in stereosplit_change_state()
235 gst_clear_object (&stereosplit->other_context); in stereosplit_change_state()
524 if (!gst_gl_ensure_element_data (self, &self->display, &self->other_context)) in ensure_context_unlocked()
540 if (!gst_gl_display_create_context (self->display, self->other_context, in ensure_context_unlocked()
605 if (!gst_gl_ensure_element_data (self, &self->display, &self->other_context)) in stereosplit_propose_allocation()
726 if (split->other_context) in stereosplit_src_query()
727 other = gst_object_ref (split->other_context); in stereosplit_src_query()
773 if (split->other_context) in stereosplit_sink_query()
774 other = gst_object_ref (split->other_context); in stereosplit_sink_query()
Dgstglstereosplit.h50 GstGLContext *other_context; member
Dcaopengllayersink.h58 GstGLContext *other_context; member
Dgstglimagesink.h78 GstGLContext *other_context; member
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dgstglcontext.c266 GstGLContext *other_context; in GST_START_TEST() local
283 other_context = gst_gl_context_new (display); in GST_START_TEST()
284 gst_gl_context_set_window (other_context, other_window); in GST_START_TEST()
286 gst_gl_context_create (other_context, context, &error); in GST_START_TEST()
296 other_context); in GST_START_TEST()
308 other_context); in GST_START_TEST()
313 gst_object_unref (other_context); in GST_START_TEST()
356 GstGLContext *context, *other_context, *wrapped_context; in GST_START_TEST() local
389 other_context = gst_gl_context_new (display); in GST_START_TEST()
391 gst_gl_context_set_window (other_context, other_window); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dglcontexthelper.c55 if (ctxh->other_context) in gst_gl_context_helper_free()
56 gst_object_unref (ctxh->other_context); in gst_gl_context_helper_free()
71 &ctxh->other_context); in gst_gl_context_helper_ensure_context()
94 ctxh->other_context, &ctxh->context, &error)) { in gst_gl_context_helper_ensure_context()
Dglcontexthelper.h31 GstGLContext *other_context; member
/third_party/gn/src/gn/
Dfilesystem_utils_unittest.cc677 BuildDirContext other_context(&other_settings); in TEST() local
681 GetBuildDirAsSourceDir(other_context, BuildDirType::TOOLCHAIN_ROOT) in TEST()
684 GetBuildDirAsSourceDir(other_context, BuildDirType::OBJ).value()); in TEST()
686 GetBuildDirAsSourceDir(other_context, BuildDirType::GEN).value()); in TEST()
690 GetBuildDirAsOutputFile(other_context, BuildDirType::TOOLCHAIN_ROOT) in TEST()
693 GetBuildDirAsOutputFile(other_context, BuildDirType::OBJ).value()); in TEST()
695 GetBuildDirAsOutputFile(other_context, BuildDirType::GEN).value()); in TEST()
732 BuildDirContext other_context(&other_settings); in TEST() local
736 GetSubBuildDirAsSourceDir(other_context, SourceDir("//"), in TEST()
740 other_context, SourceDir("//"), BuildDirType::GEN) in TEST()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglutils.c328 GstGLDisplay ** display, GstGLContext ** other_context) in gst_gl_handle_set_context() argument
335 g_return_val_if_fail (other_context != NULL, FALSE); in gst_gl_handle_set_context()
401 GstGLContext *old = *other_context; in gst_gl_handle_set_context()
402 *other_context = context_replacement; in gst_gl_handle_set_context()
425 GstGLContext * other_context) in gst_gl_handle_context_query() argument
435 g_return_val_if_fail (other_context == NULL in gst_gl_handle_context_query()
436 || GST_IS_GL_CONTEXT (other_context), FALSE); in gst_gl_handle_context_query()
519 else if (other_context && g_strcmp0 (context_type, "gst.gl.app_context") == 0) { in gst_gl_handle_context_query()
530 gst_structure_set (s, "context", GST_TYPE_GL_CONTEXT, other_context, NULL); in gst_gl_handle_context_query()
535 GST_PTR_FORMAT " on %" GST_PTR_FORMAT, other_context, query); in gst_gl_handle_context_query()
Dgstglcontext.c1016 gst_gl_context_can_share (GstGLContext * context, GstGLContext * other_context) in gst_gl_context_can_share() argument
1019 g_return_val_if_fail (GST_IS_GL_CONTEXT (other_context), FALSE); in gst_gl_context_can_share()
1023 && context->priv->sharegroup == other_context->priv->sharegroup; in gst_gl_context_can_share()
1058 GstGLContext * other_context, GError ** error) in gst_gl_context_create() argument
1065 GST_DEBUG_OBJECT (context, " other_context:%" GST_PTR_FORMAT, other_context); in gst_gl_context_create()
1072 g_weak_ref_set (&context->priv->other_context_ref, other_context); in gst_gl_context_create()
1074 if (other_context == NULL) in gst_gl_context_create()
1078 _context_share_group_ref (other_context->priv->sharegroup); in gst_gl_context_create()
1218 GstGLContext *other_context; in gst_gl_context_create_thread() local
1226 other_context = g_weak_ref_get (&context->priv->other_context_ref); in gst_gl_context_create_thread()
[all …]
Dgstglbasefilter.c47 GstGLContext *other_context; member
290 if (filter->priv->other_context) in gst_gl_base_filter_query()
291 other = gst_object_ref (filter->priv->other_context); in gst_gl_base_filter_query()
467 &filter->priv->other_context)) in gst_gl_base_filter_change_state()
484 gst_clear_object (&filter->priv->other_context); in gst_gl_base_filter_change_state()
506 &filter->priv->other_context); in gst_gl_base_filter_set_context()
559 filter->priv->other_context, &filter->context, &error)) { in gst_gl_base_filter_find_gl_context_unlocked()
Dgstglutils.h36 GstGLDisplay ** display, GstGLContext ** other_context);
39 GstGLDisplay * display, GstGLContext * context, GstGLContext * other_context);
Dgstglcontext.h159 GstGLContext *other_context, GError ** error);
204 gboolean gst_gl_context_can_share (GstGLContext * context, GstGLContext *other_context);
209 gboolean gst_gl_context_create (GstGLContext *context, GstGLContext *other_context, …
Dgstglbasesrc.c51 GstGLContext *other_context; member
235 &src->priv->other_context); in gst_gl_base_src_set_context()
275 if (src->priv->other_context) in gst_gl_base_src_query()
276 other = gst_object_ref (src->priv->other_context); in gst_gl_base_src_query()
551 &src->priv->other_context)) in gst_gl_base_src_find_gl_context_unlocked()
570 src->priv->other_context, &src->context, &error)) { in gst_gl_base_src_find_gl_context_unlocked()
715 gst_clear_object (&src->priv->other_context); in gst_gl_base_src_change_state()
Dgstgldisplay.c635 GstGLContext * other_context, GstGLContext ** p_context, GError ** error) in gst_gl_display_create_context() argument
645 other_context, &context); in gst_gl_display_create_context()
661 GST_PTR_FORMAT, context, other_context); in gst_gl_display_create_context()
663 ret = gst_gl_context_create (context, other_context, error); in gst_gl_display_create_context()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wgl/
Dgstglcontext_wgl.c60 GstGLAPI gl_api, GstGLContext * other_context, GError ** error);
161 GstGLAPI gl_api, GstGLContext * other_context, GError ** error) in gst_gl_context_wgl_create_context() argument
173 if (other_context) { in gst_gl_context_wgl_create_context()
174 if (gst_gl_context_get_gl_platform (other_context) != GST_GL_PLATFORM_WGL) { in gst_gl_context_wgl_create_context()
180 external_gl_context = (HGLRC) gst_gl_context_get_gl_context (other_context); in gst_gl_context_wgl_create_context()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/cocoa/
Dgstglcontext_cocoa.m35 GstGLContext * other_context, GError **error);
229 GstGLContext *other_context, GError **error)
256 if (other_context)
257 priv->external_gl_context = (CGLContextObj) gst_gl_context_get_gl_context (other_context);
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/eagl/
Dgstglcontext_eagl.m42 GstGLAPI gl_api, GstGLContext * other_context, GError ** error);
307 GstGLContext * other_context, GError ** error)
316 if (other_context) {
318 gst_gl_context_get_gl_context (other_context);
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgstglcontext_egl.c63 GstGLAPI gl_api, GstGLContext * other_context, GError ** error);
849 GstGLAPI gl_api, GstGLContext * other_context, GError ** error) in gst_gl_context_egl_create_context() argument
865 if (other_context) { in gst_gl_context_egl_create_context()
866 if (gst_gl_context_get_gl_platform (other_context) != GST_GL_PLATFORM_EGL) { in gst_gl_context_egl_create_context()
872 external_gl_context = gst_gl_context_get_gl_context (other_context); in gst_gl_context_egl_create_context()
1072 if (other_context == NULL) { in gst_gl_context_egl_create_context()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/x11/
Dgstglcontext_glx.c49 context, GstGLAPI gl_api, GstGLContext * other_context, GError ** error);
599 GstGLAPI gl_api, GstGLContext * other_context, GError ** error) in gst_gl_context_glx_create_context() argument
623 if (other_context) { in gst_gl_context_glx_create_context()
624 if (gst_gl_context_get_gl_platform (other_context) != GST_GL_PLATFORM_GLX) { in gst_gl_context_glx_create_context()
631 external_gl_context = gst_gl_context_get_gl_context (other_context); in gst_gl_context_glx_create_context()

12