Home
last modified time | relevance | path

Searched refs:main_context (Results 1 – 25 of 36) sorted by relevance

12

/third_party/cef/tests/cefclient/browser/
Dmain_message_loop_multithreaded_gtk.cc37 guint idle_add(GMainContext* main_context, in idle_add() argument
42 guint id = g_source_attach(source, main_context); in idle_add()
48 guint timeout_add(GMainContext* main_context, in timeout_add() argument
54 guint id = g_source_attach(source, main_context); in timeout_add()
/third_party/gstreamer/gstplugins_bad/gst/debugutils/
Dgstwatchdog.c252 } else if (watchdog->main_context == NULL) { in gst_watchdog_feed()
261 g_source_attach (watchdog->source, watchdog->main_context); in gst_watchdog_feed()
273 watchdog->main_context = g_main_context_new (); in gst_watchdog_start()
274 watchdog->main_loop = g_main_loop_new (watchdog->main_context, TRUE); in gst_watchdog_start()
301 g_source_attach (quit_source, watchdog->main_context); in gst_watchdog_stop()
310 g_main_context_unref (watchdog->main_context); in gst_watchdog_stop()
311 watchdog->main_context = NULL; in gst_watchdog_stop()
Dgstwatchdog.h44 GMainContext *main_context; member
/third_party/gstreamer/gstplugins_base/gst/tcp/
Dgstmultisocketsink.c1002 if (condition && sink->main_context) { in ensure_condition()
1008 g_source_attach (client->source, sink->main_context); in ensure_condition()
1155 g_source_attach (timeout, sink->main_context); in gst_multi_socket_sink_thread()
1162 g_main_context_iteration (sink->main_context, TRUE); in gst_multi_socket_sink_thread()
1221 mssink->main_context = g_main_context_new (); in gst_multi_socket_sink_start_pre()
1248 if (mssink->main_context) in gst_multi_socket_sink_stop_pre()
1249 g_main_context_wakeup (mssink->main_context); in gst_multi_socket_sink_stop_pre()
1257 if (mssink->main_context) { in gst_multi_socket_sink_stop_post()
1258 g_main_context_unref (mssink->main_context); in gst_multi_socket_sink_stop_post()
1259 mssink->main_context = NULL; in gst_multi_socket_sink_stop_post()
[all …]
Dgstmultisocketsink.h69 GMainContext *main_context; member
Dgstmultihandlesink.h205 GMainContext *main_context; member
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstpromise.c33 GMainContext *main_context; member
49 q->main_context = g_main_context_new (); in _promise_thread()
50 q->main_loop = g_main_loop_new (q->main_context, FALSE); in _promise_thread()
53 g_main_context_invoke (q->main_context, (GSourceFunc) _unlock_thread, in _promise_thread()
59 g_main_context_unref (q->main_context); in _promise_thread()
60 q->main_context = NULL; in _promise_thread()
138 g_source_attach (source, q->main_context); in _enqueue_task()
/third_party/gstreamer/gstplugins_good/ext/gtk/
Dgstgtkutils.c50 GMainContext *main_context = g_main_context_default (); in gst_gtk_invoke_on_main() local
59 g_main_context_invoke (main_context, (GSourceFunc) gst_gtk_invoke_func, in gst_gtk_invoke_on_main()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglwindow.c150 g_main_context_push_thread_default (window->main_context); in gst_gl_window_default_open()
158 g_main_context_pop_thread_default (window->main_context); in gst_gl_window_default_close()
187 window->main_context = g_main_context_new (); in gst_gl_window_init()
188 priv->loop = g_main_loop_new (window->main_context, FALSE); in gst_gl_window_init()
362 if (window->main_context) in gst_gl_window_finalize()
363 g_main_context_unref (window->main_context); in gst_gl_window_finalize()
364 window->main_context = NULL; in gst_gl_window_finalize()
722 g_main_context_invoke (window->main_context, (GSourceFunc) _run_message_async, in gst_gl_window_default_send_message_async()
Dgstgldisplay.c136 display->main_context = g_main_context_new (); in _event_thread_main()
137 display->main_loop = g_main_loop_new (display->main_context, FALSE); in _event_thread_main()
139 g_main_context_invoke (display->main_context, in _event_thread_main()
148 g_main_context_unref (display->main_context); in _event_thread_main()
151 display->main_context = NULL; in _event_thread_main()
Dgstgldisplay.h117 GMainContext *main_context; member
Dgstglwindow.h119 GMainContext *main_context; /* default main_context */ member
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11window_win32.cpp66 GMainContext *main_context; member
169 self->main_context = g_main_context_new (); in gst_d3d11_window_win32_init()
184 self->loop = g_main_loop_new (self->main_context, FALSE); in gst_d3d11_window_win32_constructed()
249 if (self->main_context) { in gst_d3d11_window_win32_unprepare()
250 g_main_context_unref (self->main_context); in gst_d3d11_window_win32_unprepare()
251 self->main_context = NULL; in gst_d3d11_window_win32_unprepare()
349 g_main_context_push_thread_default (self->main_context); in gst_d3d11_window_win32_thread_func()
357 g_source_attach (self->msg_source, self->main_context); in gst_d3d11_window_win32_thread_func()
361 g_source_attach (source, self->main_context); in gst_d3d11_window_win32_thread_func()
382 g_main_context_pop_thread_default (self->main_context); in gst_d3d11_window_win32_thread_func()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/wayland/
Dgstvkdisplay_wayland.c140 GST_VULKAN_DISPLAY (ret)->main_context); in gst_vulkan_display_wayland_new()
194 g_main_context_invoke (GST_VULKAN_DISPLAY (display)->main_context, in gst_vulkan_display_wayland_roundtrip_async()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkdisplay.c107 display->main_context = g_main_context_new (); in _event_thread_main()
108 display->main_loop = g_main_loop_new (display->main_context, FALSE); in _event_thread_main()
118 g_main_context_unref (display->main_context); in _event_thread_main()
121 display->main_context = NULL; in _event_thread_main()
Dgstvkdisplay.h101 GMainContext *main_context; member
/third_party/gstreamer/gstplugins_bad/ext/webrtc/
Dgstwebrtcice.c72 GMainContext *main_context; member
99 ice->priv->main_context = g_main_context_new (); in _gst_nice_thread()
100 ice->priv->loop = g_main_loop_new (ice->priv->main_context, FALSE); in _gst_nice_thread()
103 g_main_context_invoke (ice->priv->main_context, in _gst_nice_thread()
109 g_main_context_unref (ice->priv->main_context); in _gst_nice_thread()
110 ice->priv->main_context = NULL; in _gst_nice_thread()
1098 ice->priv->nice_agent = nice_agent_new_full (ice->priv->main_context, in gst_webrtc_ice_constructed()
Dgstwebrtcbin.h126 GMainContext *main_context; member
/third_party/gstreamer/gstreamer/libs/gst/net/
Dgstptpclock.c245 static GMainContext *main_context; variable
1048 g_source_attach (timeout_source, main_context); in send_delay_req()
1990 g_source_attach (cleanup_source, main_context); in ptp_helper_main()
2127 main_context = g_main_context_new (); in gst_ptp_init()
2128 main_loop = g_main_loop_new (main_context, FALSE); in gst_ptp_init()
2157 g_source_attach (stdin_source, main_context); in gst_ptp_init()
2220 if (main_context) in gst_ptp_init()
2221 g_main_context_unref (main_context); in gst_ptp_init()
2222 main_context = NULL; in gst_ptp_init()
2284 if (main_context) in gst_ptp_deinit()
[all …]
/third_party/node/src/
Dnode_snapshotable.cc1174 Local<Context> main_context = NewContext(isolate); in Generate() local
1175 if (main_context.IsEmpty()) { in Generate()
1180 Context::Scope context_scope(main_context); in Generate()
1191 main_context, in Generate()
1234 if (!builtins::BuiltinLoader::CompileAllBuiltins(main_context)) { in Generate()
1247 ResetContextSettingsBeforeSnapshot(main_context); in Generate()
1258 index = creator.AddContext(main_context, in Generate()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/xcb/
Dgstvkdisplay_xcb.c112 GST_VULKAN_DISPLAY (ret)->main_context); in gst_vulkan_display_xcb_new()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/win32/
Dgstglwindow_win32.c139 g_source_attach (window_win32->msg_source, window->main_context); in gst_gl_window_win32_open()
453 g_main_context_invoke_full (display->main_context, G_PRIORITY_DEFAULT, in gst_gl_window_win32_handle_key_event()
529 g_main_context_invoke_full (display->main_context, G_PRIORITY_DEFAULT, in gst_gl_window_win32_handle_mouse_event()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmpconnection.c56 GMainContext *main_context; member
307 g_clear_pointer (&rtmpconnection->main_context, g_main_context_unref); in gst_rtmp_connection_finalize()
326 sc->main_context = g_main_context_ref_thread_default (); in gst_rtmp_connection_set_socket_connection()
339 g_source_attach (sc->input_source, sc->main_context); in gst_rtmp_connection_set_socket_connection()
1126 g_main_context_invoke_full (self->main_context, G_PRIORITY_DEFAULT, in gst_rtmp_connection_queue_message()
/third_party/gstreamer/gstplugins_bad/gst/netsim/
Dgstnetsim.c162 GMainContext *main_context = g_main_context_new (); in gst_net_sim_src_activatemode() local
163 netsim->main_loop = g_main_loop_new (main_context, FALSE); in gst_net_sim_src_activatemode()
164 g_main_context_unref (main_context); in gst_net_sim_src_activatemode()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/x11/
Dgstgldisplay_x11.c125 GST_GL_DISPLAY (ret)->main_context); in gst_gl_display_x11_new()

12