Home
last modified time | relevance | path

Searched refs:monitor (Results 1 - 25 of 71) sorted by relevance

123

/third_party/glfw/src/
H A Dwl_monitor.c52 struct _GLFWmonitor* monitor = userData; in outputHandleGeometry() local
54 monitor->wl.x = x; in outputHandleGeometry()
55 monitor->wl.y = y; in outputHandleGeometry()
56 monitor->widthMM = physicalWidth; in outputHandleGeometry()
57 monitor->heightMM = physicalHeight; in outputHandleGeometry()
59 if (strlen(monitor->name) == 0) in outputHandleGeometry()
60 snprintf(monitor->name, sizeof(monitor->name), "%s %s", make, model); in outputHandleGeometry()
70 struct _GLFWmonitor* monitor = userData; in outputHandleMode() local
80 monitor in outputHandleMode()
91 struct _GLFWmonitor* monitor = userData; outputHandleDone() local
114 struct _GLFWmonitor* monitor = userData; outputHandleScale() local
134 struct _GLFWmonitor* monitor = userData; outputHandleName() local
193 _glfwFreeMonitorWayland(_GLFWmonitor* monitor) _glfwFreeMonitorWayland() argument
199 _glfwGetMonitorPosWayland(_GLFWmonitor* monitor, int* xpos, int* ypos) _glfwGetMonitorPosWayland() argument
207 _glfwGetMonitorContentScaleWayland(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleWayland() argument
216 _glfwGetMonitorWorkareaWayland(_GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height) _glfwGetMonitorWorkareaWayland() argument
230 _glfwGetVideoModesWayland(_GLFWmonitor* monitor, int* found) _glfwGetVideoModesWayland() argument
236 _glfwGetVideoModeWayland(_GLFWmonitor* monitor, GLFWvidmode* mode) _glfwGetVideoModeWayland() argument
242 _glfwGetGammaRampWayland(_GLFWmonitor* monitor, GLFWgammaramp* ramp) _glfwGetGammaRampWayland() argument
249 _glfwSetGammaRampWayland(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) _glfwSetGammaRampWayland() argument
270 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetWaylandMonitor() local
[all...]
H A Dmonitor.c65 // Retrieves the available modes for the specified monitor
67 static GLFWbool refreshVideoModes(_GLFWmonitor* monitor) in refreshVideoModes() argument
72 if (monitor->modes) in refreshVideoModes()
75 modes = _glfw.platform.getVideoModes(monitor, &modeCount); in refreshVideoModes()
81 _glfw_free(monitor->modes); in refreshVideoModes()
82 monitor->modes = modes; in refreshVideoModes()
83 monitor->modeCount = modeCount; in refreshVideoModes()
93 // Notifies shared code of a monitor connection or disconnection
95 void _glfwInputMonitor(_GLFWmonitor* monitor, int action, int placement) in _glfwInputMonitor() argument
97 assert(monitor ! in _glfwInputMonitor()
158 _glfwInputMonitorWindow(_GLFWmonitor* monitor, _GLFWwindow* window) _glfwInputMonitorWindow() argument
173 _GLFWmonitor* monitor = _glfw_calloc(1, sizeof(_GLFWmonitor)); _glfwAllocMonitor() local
184 _glfwFreeMonitor(_GLFWmonitor* monitor) _glfwFreeMonitor() argument
221 _glfwChooseVideoMode(_GLFWmonitor* monitor, const GLFWvidmode* desired) _glfwChooseVideoMode() argument
335 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetMonitorPos() local
356 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetMonitorWorkarea() local
371 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetMonitorPhysicalSize() local
390 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetMonitorContentScale() local
400 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetMonitorName() local
410 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwSetMonitorUserPointer() local
420 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetMonitorUserPointer() local
441 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetVideoModes() local
455 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetVideoMode() local
516 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetGammaRamp() local
536 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwSetGammaRamp() local
[all...]
H A Dnull_monitor.c34 // The the sole (fake) video mode of our (sole) fake monitor
56 _GLFWmonitor* monitor = _glfwAllocMonitor("Null SuperNoop 0", in _glfwPollMonitorsNull() local
59 _glfwInputMonitor(monitor, GLFW_CONNECTED, _GLFW_INSERT_FIRST); in _glfwPollMonitorsNull()
66 void _glfwFreeMonitorNull(_GLFWmonitor* monitor) in _glfwFreeMonitorNull() argument
68 _glfwFreeGammaArrays(&monitor->null.ramp); in _glfwFreeMonitorNull()
71 void _glfwGetMonitorPosNull(_GLFWmonitor* monitor, int* xpos, int* ypos) in _glfwGetMonitorPosNull() argument
79 void _glfwGetMonitorContentScaleNull(_GLFWmonitor* monitor, in _glfwGetMonitorContentScaleNull() argument
88 void _glfwGetMonitorWorkareaNull(_GLFWmonitor* monitor, in _glfwGetMonitorWorkareaNull() argument
104 GLFWvidmode* _glfwGetVideoModesNull(_GLFWmonitor* monitor, int* found) in _glfwGetVideoModesNull() argument
112 GLFWbool _glfwGetVideoModeNull(_GLFWmonitor* monitor, GLFWvidmod argument
118 _glfwGetGammaRampNull(_GLFWmonitor* monitor, GLFWgammaramp* ramp) _glfwGetGammaRampNull() argument
147 _glfwSetGammaRampNull(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) _glfwSetGammaRampNull() argument
[all...]
H A Dwin32_monitor.c52 _GLFWmonitor* monitor = (_GLFWmonitor*) data; in monitorCallback() local
53 if (wcscmp(mi.szDevice, monitor->win32.adapterName) == 0) in monitorCallback()
54 monitor->win32.handle = handle; in monitorCallback()
60 // Create monitor from an adapter and (optionally) a display
65 _GLFWmonitor* monitor; in createMonitor() local
98 monitor = _glfwAllocMonitor(name, widthMM, heightMM); in createMonitor()
102 monitor->win32.modesPruned = GLFW_TRUE; in createMonitor()
104 wcscpy(monitor->win32.adapterName, adapter->DeviceName); in createMonitor()
107 monitor->win32.publicAdapterName, in createMonitor()
108 sizeof(monitor in createMonitor()
143 _GLFWmonitor* monitor; _glfwPollMonitorsWin32() local
249 _glfwSetVideoModeWin32(_GLFWmonitor* monitor, const GLFWvidmode* desired) _glfwSetVideoModeWin32() argument
307 _glfwRestoreVideoModeWin32(_GLFWmonitor* monitor) _glfwRestoreVideoModeWin32() argument
353 _glfwFreeMonitorWin32(_GLFWmonitor* monitor) _glfwFreeMonitorWin32() argument
357 _glfwGetMonitorPosWin32(_GLFWmonitor* monitor, int* xpos, int* ypos) _glfwGetMonitorPosWin32() argument
374 _glfwGetMonitorContentScaleWin32(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleWin32() argument
380 _glfwGetMonitorWorkareaWin32(_GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height) _glfwGetMonitorWorkareaWin32() argument
397 _glfwGetVideoModesWin32(_GLFWmonitor* monitor, int* count) _glfwGetVideoModesWin32() argument
474 _glfwGetVideoModeWin32(_GLFWmonitor* monitor, GLFWvidmode* mode) _glfwGetVideoModeWin32() argument
497 _glfwGetGammaRampWin32(_GLFWmonitor* monitor, GLFWgammaramp* ramp) _glfwGetGammaRampWin32() argument
515 _glfwSetGammaRampWin32(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) _glfwSetGammaRampWin32() argument
551 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetWin32Adapter() local
567 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetWin32Monitor() local
[all...]
H A Dx11_monitor.c175 _GLFWmonitor* monitor = _glfwAllocMonitor(oi->name, widthMM, heightMM); in _glfwPollMonitorsX11() local
176 monitor->x11.output = sr->outputs[i]; in _glfwPollMonitorsX11()
177 monitor->x11.crtc = oi->crtc; in _glfwPollMonitorsX11()
186 monitor->x11.index = j; in _glfwPollMonitorsX11()
191 if (monitor->x11.output == primary) in _glfwPollMonitorsX11()
196 _glfwInputMonitor(monitor, GLFW_CONNECTED, type); in _glfwPollMonitorsX11()
226 // Set the current video mode for the specified monitor
228 void _glfwSetVideoModeX11(_GLFWmonitor* monitor, const GLFWvidmode* desired) in _glfwSetVideoModeX11() argument
235 const GLFWvidmode* best = _glfwChooseVideoMode(monitor, desired); in _glfwSetVideoModeX11()
236 _glfwGetVideoModeX11(monitor, in _glfwSetVideoModeX11()
282 _glfwRestoreVideoModeX11(_GLFWmonitor* monitor) _glfwRestoreVideoModeX11() argument
314 _glfwFreeMonitorX11(_GLFWmonitor* monitor) _glfwFreeMonitorX11() argument
318 _glfwGetMonitorPosX11(_GLFWmonitor* monitor, int* xpos, int* ypos) _glfwGetMonitorPosX11() argument
340 _glfwGetMonitorContentScaleX11(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleX11() argument
349 _glfwGetMonitorWorkareaX11(_GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height) _glfwGetMonitorWorkareaX11() argument
443 _glfwGetVideoModesX11(_GLFWmonitor* monitor, int* count) _glfwGetVideoModesX11() argument
495 _glfwGetVideoModeX11(_GLFWmonitor* monitor, GLFWvidmode* mode) _glfwGetVideoModeX11() argument
534 _glfwGetGammaRampX11(_GLFWmonitor* monitor, GLFWgammaramp* ramp) _glfwGetGammaRampX11() argument
572 _glfwSetGammaRampX11(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) _glfwSetGammaRampX11() argument
623 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetX11Adapter() local
639 _GLFWmonitor* monitor = (_GLFWmonitor*) handle; glfwGetX11Monitor() local
[all...]
H A Dnull_window.c55 _glfwGetVideoModeNull(window->monitor, &mode); in fitToMonitor()
56 _glfwGetMonitorPosNull(window->monitor, in fitToMonitor()
65 _glfwInputMonitorWindow(window->monitor, window); in acquireMonitor()
70 if (window->monitor->window != window) in releaseMonitor()
73 _glfwInputMonitorWindow(window->monitor, NULL); in releaseMonitor()
80 if (window->monitor) in createNativeWindow()
147 if (window->monitor) in _glfwCreateWindowNull()
171 if (window->monitor) in _glfwDestroyWindowNull()
190 _GLFWmonitor* monitor, in _glfwSetWindowMonitorNull()
195 if (window->monitor in _glfwSetWindowMonitorNull()
189 _glfwSetWindowMonitorNull(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate) _glfwSetWindowMonitorNull() argument
[all...]
H A Dcocoa_platform.h194 // Cocoa-specific per-monitor data
237 void _glfwSetWindowMonitorCocoa(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate);
279 void _glfwFreeMonitorCocoa(_GLFWmonitor* monitor);
280 void _glfwGetMonitorPosCocoa(_GLFWmonitor* monitor, int* xpos, int* ypos);
281 void _glfwGetMonitorContentScaleCocoa(_GLFWmonitor* monitor, float* xscale, float* yscale);
282 void _glfwGetMonitorWorkareaCocoa(_GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height);
283 GLFWvidmode* _glfwGetVideoModesCocoa(_GLFWmonitor* monitor, int* count);
284 GLFWbool _glfwGetVideoModeCocoa(_GLFWmonitor* monitor, GLFWvidmode* mode);
285 GLFWbool _glfwGetGammaRampCocoa(_GLFWmonitor* monitor, GLFWgammaramp* ramp);
286 void _glfwSetGammaRampCocoa(_GLFWmonitor* monitor, cons
[all...]
H A Dnull_platform.h188 // Null-specific per-monitor data
213 void _glfwFreeMonitorNull(_GLFWmonitor* monitor);
214 void _glfwGetMonitorPosNull(_GLFWmonitor* monitor, int* xpos, int* ypos);
215 void _glfwGetMonitorContentScaleNull(_GLFWmonitor* monitor, float* xscale, float* yscale);
216 void _glfwGetMonitorWorkareaNull(_GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height);
217 GLFWvidmode* _glfwGetVideoModesNull(_GLFWmonitor* monitor, int* found);
218 GLFWbool _glfwGetVideoModeNull(_GLFWmonitor* monitor, GLFWvidmode* mode);
219 GLFWbool _glfwGetGammaRampNull(_GLFWmonitor* monitor, GLFWgammaramp* ramp);
220 void _glfwSetGammaRampNull(_GLFWmonitor* monitor, const GLFWgammaramp* ramp);
226 void _glfwSetWindowMonitorNull(_GLFWwindow* window, _GLFWmonitor* monitor, in
[all...]
H A Dwin32_platform.h507 // Win32-specific per-monitor data
541 void _glfwSetVideoModeWin32(_GLFWmonitor* monitor, const GLFWvidmode* desired);
542 void _glfwRestoreVideoModeWin32(_GLFWmonitor* monitor);
565 void _glfwSetWindowMonitorWin32(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate);
607 void _glfwFreeMonitorWin32(_GLFWmonitor* monitor);
608 void _glfwGetMonitorPosWin32(_GLFWmonitor* monitor, int* xpos, int* ypos);
609 void _glfwGetMonitorContentScaleWin32(_GLFWmonitor* monitor, float* xscale, float* yscale);
610 void _glfwGetMonitorWorkareaWin32(_GLFWmonitor* monitor, int* xpos, int* ypos, int* width, int* height);
611 GLFWvidmode* _glfwGetVideoModesWin32(_GLFWmonitor* monitor, int* count);
612 GLFWbool _glfwGetVideoModeWin32(_GLFWmonitor* monitor, GLFWvidmod
[all...]
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_monitor.c200 struct iris_monitor_object *monitor = in iris_create_monitor_object() local
202 if (unlikely(!monitor)) in iris_create_monitor_object()
205 monitor->num_active_counters = num_queries; in iris_create_monitor_object()
206 monitor->active_counters = calloc(num_queries, sizeof(int)); in iris_create_monitor_object()
207 if (unlikely(!monitor->active_counters)) in iris_create_monitor_object()
217 monitor->active_counters[i] = in iris_create_monitor_object()
226 monitor->query = query_obj; in iris_create_monitor_object()
227 monitor->result_size = perf_cfg->queries[group].data_size; in iris_create_monitor_object()
228 monitor->result_buffer = calloc(1, monitor in iris_create_monitor_object()
245 iris_destroy_monitor_object(struct pipe_context *ctx, struct iris_monitor_object *monitor) iris_destroy_monitor_object() argument
259 iris_begin_monitor(struct pipe_context *ctx, struct iris_monitor_object *monitor) iris_begin_monitor() argument
269 iris_end_monitor(struct pipe_context *ctx, struct iris_monitor_object *monitor) iris_end_monitor() argument
280 iris_get_monitor_result(struct pipe_context *ctx, struct iris_monitor_object *monitor, bool wait, union pipe_numeric_type_union *result) iris_get_monitor_result() argument
[all...]
H A Diris_monitor.h44 struct iris_monitor_object *monitor);
48 struct iris_monitor_object *monitor);
51 struct iris_monitor_object *monitor);
55 struct iris_monitor_object *monitor,
/third_party/cJSON/tests/
H A Dreadme_examples.c60 cJSON *monitor = cJSON_CreateObject(); in create_monitor() local
61 if (monitor == NULL) in create_monitor()
71 /* after creation was successful, immediately add it to the monitor, in create_monitor()
73 cJSON_AddItemToObject(monitor, "name", name); in create_monitor()
80 cJSON_AddItemToObject(monitor, "resolutions", resolutions); in create_monitor()
106 string = cJSON_Print(monitor); in create_monitor()
109 fprintf(stderr, "Failed to print monitor.\n"); in create_monitor()
113 cJSON_Delete(monitor); in create_monitor()
128 cJSON *monitor = cJSON_CreateObject(); in create_monitor_with_helpers() local
130 if (cJSON_AddStringToObject(monitor, "nam in create_monitor_with_helpers()
169 supports_full_hd(const char * const monitor) supports_full_hd() argument
219 char *monitor = create_monitor(); create_monitor_should_create_a_monitor() local
228 char *monitor = create_monitor_with_helpers(); create_monitor_with_helpers_should_create_a_monitor() local
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_monitor.c347 struct crocus_monitor_object *monitor = in crocus_create_monitor_object() local
349 if (unlikely(!monitor)) in crocus_create_monitor_object()
352 monitor->num_active_counters = num_queries; in crocus_create_monitor_object()
353 monitor->active_counters = calloc(num_queries, sizeof(int)); in crocus_create_monitor_object()
354 if (unlikely(!monitor->active_counters)) in crocus_create_monitor_object()
364 monitor->active_counters[i] = in crocus_create_monitor_object()
373 monitor->query = query_obj; in crocus_create_monitor_object()
374 monitor->result_size = perf_cfg->queries[group].data_size; in crocus_create_monitor_object()
375 monitor->result_buffer = calloc(1, monitor in crocus_create_monitor_object()
392 crocus_destroy_monitor_object(struct pipe_context *ctx, struct crocus_monitor_object *monitor) crocus_destroy_monitor_object() argument
406 crocus_begin_monitor(struct pipe_context *ctx, struct crocus_monitor_object *monitor) crocus_begin_monitor() argument
416 crocus_end_monitor(struct pipe_context *ctx, struct crocus_monitor_object *monitor) crocus_end_monitor() argument
427 crocus_get_monitor_result(struct pipe_context *ctx, struct crocus_monitor_object *monitor, bool wait, union pipe_numeric_type_union *result) crocus_get_monitor_result() argument
[all...]
H A Dcrocus_monitor.h57 struct crocus_monitor_object *monitor);
61 struct crocus_monitor_object *monitor);
64 struct crocus_monitor_object *monitor);
68 struct crocus_monitor_object *monitor,
/third_party/glfw/tests/
H A Dmonitors.c26 // This test prints monitor and video mode information or verifies video
95 static void list_modes(GLFWmonitor* monitor) in list_modes() argument
101 const GLFWvidmode* mode = glfwGetVideoMode(monitor); in list_modes()
102 const GLFWvidmode* modes = glfwGetVideoModes(monitor, &count); in list_modes()
104 glfwGetMonitorPos(monitor, &x, &y); in list_modes()
105 glfwGetMonitorPhysicalSize(monitor, &width_mm, &height_mm); in list_modes()
106 glfwGetMonitorContentScale(monitor, &xscale, &yscale); in list_modes()
107 glfwGetMonitorWorkarea(monitor, &workarea_x, &workarea_y, &workarea_width, &workarea_height); in list_modes()
110 glfwGetMonitorName(monitor), in list_modes()
111 glfwGetPrimaryMonitor() == monitor in list_modes()
134 test_modes(GLFWmonitor* monitor) test_modes() argument
[all...]
H A Diconify.c107 GLFWmonitor* monitor = glfwGetPrimaryMonitor(); in key_callback() local
108 if (monitor) in key_callback()
110 const GLFWvidmode* mode = glfwGetVideoMode(monitor); in key_callback()
113 glfwSetWindowMonitor(window, monitor, in key_callback()
165 static GLFWwindow* create_window(GLFWmonitor* monitor) in create_window() argument
170 if (monitor) in create_window()
172 const GLFWvidmode* mode = glfwGetVideoMode(monitor); in create_window()
188 window = glfwCreateWindow(width, height, "Iconify", monitor, NULL); in create_window()
251 GLFWmonitor* monitor = NULL; in main() local
254 monitor in main()
[all...]
H A Dreopen.c121 GLFWmonitor* monitor = NULL; in main() local
129 monitor = monitors[rand() % monitorCount]; in main()
132 if (monitor) in main()
134 const GLFWvidmode* mode = glfwGetVideoMode(monitor); in main()
146 window = glfwCreateWindow(width, height, "Window Re-opener", monitor, NULL); in main()
153 if (monitor) in main()
155 printf("Opening full screen window on monitor %s took %0.3f seconds\n", in main()
156 glfwGetMonitorName(monitor), in main()
H A Devents.c479 static void monitor_callback(GLFWmonitor* monitor, int event) in monitor_callback() argument
484 const GLFWvidmode* mode = glfwGetVideoMode(monitor); in monitor_callback()
486 glfwGetMonitorPos(monitor, &x, &y); in monitor_callback()
487 glfwGetMonitorPhysicalSize(monitor, &widthMM, &heightMM); in monitor_callback()
492 glfwGetMonitorName(monitor), in monitor_callback()
502 glfwGetMonitorName(monitor)); in monitor_callback()
548 GLFWmonitor* monitor = NULL; in main() local
570 monitor = glfwGetPrimaryMonitor(); in main()
583 if (monitor) in main()
585 const GLFWvidmode* mode = glfwGetVideoMode(monitor); in main()
[all...]
H A Dgamma.c90 GLFWmonitor* monitor = NULL; in main() local
102 monitor = glfwGetPrimaryMonitor(); in main()
115 const GLFWgammaramp* ramp = glfwGetGammaRamp(monitor); in main()
159 glfwSetGamma(monitor, gamma_value); in main()
162 glfwSetGammaRamp(monitor, &orig_ramp); in main()
164 ramp = glfwGetGammaRamp(monitor); in main()
/third_party/skia/third_party/externals/imgui/examples/libs/glfw/include/GLFW/
H A Dglfw3native.h124 /*! @brief Returns the adapter device name of the specified monitor.
127 * of the specified monitor, or `NULL` if an [error](@ref error_handling)
137 GLFWAPI const char* glfwGetWin32Adapter(GLFWmonitor* monitor);
139 /*! @brief Returns the display device name of the specified monitor.
142 * `\\.\DISPLAY1\Monitor0`) of the specified monitor, or `NULL` if an
152 GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* monitor);
186 /*! @brief Returns the `CGDirectDisplayID` of the specified monitor.
188 * @return The `CGDirectDisplayID` of the specified monitor, or
198 GLFWAPI CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
246 /*! @brief Returns the `RRCrtc` of the specified monitor
[all...]
H A Dglfw3.h70 /*! @defgroup monitor Monitor reference
72 * This is the reference documentation for monitor related functions and types.
760 /*! @brief Opaque monitor object.
762 * Opaque monitor object.
768 * @ingroup monitor
1084 /*! @brief The function signature for monitor configuration callbacks.
1086 * This is the function signature for monitor configuration callback functions.
1088 * @param[in] monitor The monitor that was connected or disconnected.
1096 * @ingroup monitor
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-systemd-login.c59 sd_login_monitor *monitor; member
169 sd_login_monitor_flush(u->monitor); in monitor_cb()
176 sd_login_monitor *monitor = NULL; in pa__init() local
191 r = sd_login_monitor_new("session", &monitor); in pa__init()
193 pa_log("Failed to create session monitor: %s", strerror(-r)); in pa__init()
202 u->monitor = monitor; in pa__init()
204 u->io = u->core->mainloop->io_new(u->core->mainloop, sd_login_monitor_get_fd(monitor), PA_IO_EVENT_INPUT, monitor_cb, u); in pa__init()
239 if (u->monitor) in pa__done()
240 sd_login_monitor_unref(u->monitor); in pa__done()
[all...]
H A Dreserve-wrap.c36 #include "reserve-monitor.h"
59 struct rm_monitor *monitor; member
209 if (w->monitor) in reserve_monitor_wrapper_free()
210 rm_release(w->monitor); in reserve_monitor_wrapper_free()
237 if ((k = rm_busy(w->monitor)) < 0) in change_cb()
260 t = pa_sprintf_malloc("reserve-monitor-wrapper@%s", device_name); in pa_reserve_monitor_wrapper_get()
289 &w->monitor, in pa_reserve_monitor_wrapper_get()
299 pa_log_debug("Successfully create reservation lock monitor for device '%s'", device_name); in pa_reserve_monitor_wrapper_get()
301 rm_set_userdata(w->monitor, w); in pa_reserve_monitor_wrapper_get()
338 return rm_busy(w->monitor) > in pa_reserve_monitor_wrapper_busy()
[all...]
/third_party/glfw/include/GLFW/
H A Dglfw3native.h166 /*! @brief Returns the adapter device name of the specified monitor.
169 * of the specified monitor, or `NULL` if an [error](@ref error_handling)
182 GLFWAPI const char* glfwGetWin32Adapter(GLFWmonitor* monitor);
184 /*! @brief Returns the display device name of the specified monitor.
187 * `\\.\DISPLAY1\Monitor0`) of the specified monitor, or `NULL` if an
200 GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* monitor);
256 /*! @brief Returns the `CGDirectDisplayID` of the specified monitor.
258 * @return The `CGDirectDisplayID` of the specified monitor, or
271 GLFWAPI CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
345 /*! @brief Returns the `RRCrtc` of the specified monitor
[all...]
H A Dglfw3.h74 /*! @defgroup monitor Monitor reference
77 * This is the reference documentation for monitor related functions and types.
1382 /*! @brief Opaque monitor object.
1384 * Opaque monitor object.
1390 * @ingroup monitor
1972 /*! @brief The function pointer type for monitor configuration callbacks.
1974 * This is the function pointer type for monitor configuration callbacks.
1975 * A monitor callback function has the following signature:
1977 * void function_name(GLFWmonitor* monitor, int event)
1980 * @param[in] monitor Th
[all...]

Completed in 19 milliseconds

123