Home
last modified time | relevance | path

Searched refs:monitors (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/flutter/glfw/src/
Dmir_monitor.c39 _GLFWmonitor** monitors = NULL; in _glfwPlatformGetMonitors() local
55 monitors = realloc(monitors, sizeof(_GLFWmonitor*) * found); in _glfwPlatformGetMonitors()
56 monitors[i] = _glfwAllocMonitor("Unknown", in _glfwPlatformGetMonitors()
60 monitors[i]->mir.x = out->position_x; in _glfwPlatformGetMonitors()
61 monitors[i]->mir.y = out->position_y; in _glfwPlatformGetMonitors()
62 monitors[i]->mir.output_id = out->output_id; in _glfwPlatformGetMonitors()
63 monitors[i]->mir.cur_mode = out->current_mode; in _glfwPlatformGetMonitors()
65 monitors[i]->modes = _glfwPlatformGetVideoModes(monitors[i], in _glfwPlatformGetMonitors()
66 &monitors[i]->modeCount); in _glfwPlatformGetMonitors()
73 return monitors; in _glfwPlatformGetMonitors()
Dmonitor.c92 _GLFWmonitor** monitors = _glfw.monitors; in _glfwInputMonitorChange() local
94 _glfw.monitors = _glfwPlatformGetMonitors(&_glfw.monitorCount); in _glfwInputMonitorChange()
102 if (_glfwPlatformIsSameMonitor(_glfw.monitors[i], monitors[j])) in _glfwInputMonitorChange()
104 _glfwFreeMonitor(_glfw.monitors[i]); in _glfwInputMonitorChange()
105 _glfw.monitors[i] = monitors[j]; in _glfwInputMonitorChange()
119 if (monitors[i] == _glfw.monitors[j]) in _glfwInputMonitorChange()
128 if (window->monitor == monitors[i]) in _glfwInputMonitorChange()
137 _glfw.callbacks.monitor((GLFWmonitor*) monitors[i], GLFW_DISCONNECTED); in _glfwInputMonitorChange()
148 if (_glfw.monitors[i] == monitors[j]) in _glfwInputMonitorChange()
150 monitors[j] = NULL; in _glfwInputMonitorChange()
[all …]
Dwl_monitor.c155 _GLFWmonitor** monitors = _glfw.wl.monitors; in _glfwAddOutputWayland() local
158 monitors = realloc(monitors, size * sizeof(_GLFWmonitor*)); in _glfwAddOutputWayland()
160 _glfw.wl.monitors = monitors; in _glfwAddOutputWayland()
164 _glfw.wl.monitors[_glfw.wl.monitorsCount++] = monitor; in _glfwAddOutputWayland()
174 _GLFWmonitor** monitors; in _glfwPlatformGetMonitors() local
181 monitors = calloc(monitorsCount, sizeof(_GLFWmonitor*)); in _glfwPlatformGetMonitors()
185 _GLFWmonitor* origMonitor = _glfw.wl.monitors[i]; in _glfwPlatformGetMonitors()
191 *monitor = *_glfw.wl.monitors[i]; in _glfwPlatformGetMonitors()
192 monitors[i] = monitor; in _glfwPlatformGetMonitors()
196 return monitors; in _glfwPlatformGetMonitors()
Dwin32_monitor.c155 _GLFWmonitor** monitors = NULL; in _glfwPlatformGetMonitors() local
208 monitors = realloc(monitors, sizeof(_GLFWmonitor*) * found); in _glfwPlatformGetMonitors()
209 monitors[found - 1] = createMonitor(&adapter, &display); in _glfwPlatformGetMonitors()
215 monitors = realloc(monitors, sizeof(_GLFWmonitor*) * found); in _glfwPlatformGetMonitors()
216 monitors[found - 1] = createMonitor(&adapter, NULL); in _glfwPlatformGetMonitors()
220 _GLFW_SWAP_POINTERS(monitors[0], monitors[primaryIndex]); in _glfwPlatformGetMonitors()
223 return monitors; in _glfwPlatformGetMonitors()
Dinit.c133 _glfw.monitors = _glfwPlatformGetMonitors(&_glfw.monitorCount); in glfwInit()
161 _GLFWmonitor* monitor = _glfw.monitors[i]; in glfwTerminate()
168 _glfwFreeMonitors(_glfw.monitors, _glfw.monitorCount); in glfwTerminate()
169 _glfw.monitors = NULL; in glfwTerminate()
Dx11_monitor.c204 _GLFWmonitor** monitors = NULL; in _glfwPlatformGetMonitors() local
217 monitors = calloc(sr->noutput, sizeof(_GLFWmonitor*)); in _glfwPlatformGetMonitors()
269 monitors[found - 1] = monitor; in _glfwPlatformGetMonitors()
272 _GLFW_SWAP_POINTERS(monitors[0], monitors[found - 1]); in _glfwPlatformGetMonitors()
289 free(monitors); in _glfwPlatformGetMonitors()
290 monitors = NULL; in _glfwPlatformGetMonitors()
294 if (!monitors) in _glfwPlatformGetMonitors()
296 monitors = calloc(1, sizeof(_GLFWmonitor*)); in _glfwPlatformGetMonitors()
297 monitors[0] = _glfwAllocMonitor("Display", in _glfwPlatformGetMonitors()
306 return monitors; in _glfwPlatformGetMonitors()
Dwl_window.c114 monitorScale = window->wl.monitors[i]->wl.scale; in checkScaleChange()
141 window->wl.monitors = in handleEnter()
142 realloc(window->wl.monitors, in handleEnter()
146 window->wl.monitors[window->wl.monitorsCount++] = monitor; in handleEnter()
162 if (monitor == window->wl.monitors[i]) in handleLeave()
165 window->wl.monitors[i] = window->wl.monitors[i + 1]; in handleLeave()
167 window->wl.monitors[--window->wl.monitorsCount] = NULL; in handleLeave()
420 window->wl.monitors = calloc(1, sizeof(_GLFWmonitor*)); in _glfwPlatformCreateWindow()
453 free(window->wl.monitors); in _glfwPlatformDestroyWindow()
Dwl_platform.h97 _GLFWmonitor** monitors; member
128 _GLFWmonitor** monitors; member
Dcocoa_monitor.m247 _GLFWmonitor** monitors;
254 monitors = calloc(displayCount, sizeof(_GLFWmonitor*));
275 monitors[found - 1] = monitor;
281 return monitors;
/third_party/glib/gio/
Dgunionvolumemonitor.c43 GList *monitors; member
65 while (monitor->monitors != NULL)
67 child_monitor = monitor->monitors->data;
88 for (l = monitor->monitors; l != NULL; l = l->next) in g_union_volume_monitor_dispose()
113 for (l = monitor->monitors; l != NULL; l = l->next) in get_mounts()
139 for (l = monitor->monitors; l != NULL; l = l->next) in get_volumes()
165 for (l = monitor->monitors; l != NULL; l = l->next) in get_connected_drives()
191 for (l = monitor->monitors; l != NULL; l = l->next) in get_volume_for_uuid()
220 for (l = monitor->monitors; l != NULL; l = l->next) in get_mount_for_uuid()
376 if (g_list_find (union_monitor->monitors, volume_monitor)) in g_union_volume_monitor_add_monitor()
[all …]
/third_party/mesa3d/src/mesa/main/
Dperformance_monitor.c339 _mesa_GenPerfMonitorsAMD(GLsizei n, GLuint *monitors) in _mesa_GenPerfMonitorsAMD() argument
353 if (monitors == NULL) in _mesa_GenPerfMonitorsAMD()
356 if (_mesa_HashFindFreeKeys(ctx->PerfMonitor.Monitors, monitors, n)) { in _mesa_GenPerfMonitorsAMD()
360 new_performance_monitor(ctx, monitors[i]); in _mesa_GenPerfMonitorsAMD()
365 _mesa_HashInsert(ctx->PerfMonitor.Monitors, monitors[i], m, true); in _mesa_GenPerfMonitorsAMD()
374 _mesa_DeletePerfMonitorsAMD(GLsizei n, GLuint *monitors) in _mesa_DeletePerfMonitorsAMD() argument
387 if (monitors == NULL) in _mesa_DeletePerfMonitorsAMD()
391 struct gl_perf_monitor_object *m = lookup_monitor(ctx, monitors[i]); in _mesa_DeletePerfMonitorsAMD()
400 _mesa_HashRemove(ctx->PerfMonitor.Monitors, monitors[i]); in _mesa_DeletePerfMonitorsAMD()
Dperformance_monitor.h64 _mesa_GenPerfMonitorsAMD(GLsizei n, GLuint *monitors);
67 _mesa_DeletePerfMonitorsAMD(GLsizei n, GLuint *monitors);
/third_party/flutter/glfw/docs/
Dmonitor.dox23 application and retain their addresses until the monitors they represent are
28 a gamma ramp. One of the monitors is the primary monitor.
32 video mode, describes the viewports that the connected monitors provide into the
36 `monitors` test program.
39 @subsection monitor_monitors Retrieving monitors
49 You can retrieve all currently connected monitors with @ref glfwGetMonitors.
54 GLFWmonitor** monitors = glfwGetMonitors(&count);
58 monitors may be moved to a different index when a monitor is connected or
168 Monitor names are not guaranteed to be unique. Two monitors of the same model
Dmain.dox23 - @ref monitor_guide – enumerating and working with monitors and video modes
/third_party/flutter/glfw/tests/
Dmonitors.c207 GLFWmonitor** monitors; in main() local
230 monitors = glfwGetMonitors(&count); in main()
235 list_modes(monitors[i]); in main()
237 test_modes(monitors[i]); in main()
DCMakeLists.txt28 add_executable(monitors monitors.c ${GETOPT} ${GLAD}) target
46 iconify joysticks monitors reopen cursor)
Dreopen.c133 GLFWmonitor** monitors = glfwGetMonitors(&monitorCount); in main() local
134 monitor = monitors[rand() % monitorCount]; in main()
Diconify.c238 GLFWmonitor** monitors = glfwGetMonitors(&monitor_count); in main() local
245 windows[i] = create_window(monitors[i]); in main()
/third_party/openGLES/extensions/AMD/
DAMD_performance_monitor.txt40 This extension enables the capture and reporting of performance monitors.
41 Performance monitors contain groups of counters which hold arbitrary counted
100 void GenPerfMonitorsAMD(sizei n, uint *monitors)
102 void DeletePerfMonitorsAMD(sizei n, uint *monitors)
233 void GenPerfMonitorsAMD(sizei n, uint *monitors)
235 returns a list of monitors. These monitors can then be used to select
244 void DeletePerfMonitorsAMD(sizei n, uint *monitors)
246 is used to delete the list of monitors created by a previous call to
247 GenPerfMonitors. If a monitor ID in the list <monitors> does not
358 in the <monitors> parameter to DeletePerfMonitorsAMD do not reference
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_performance_monitor.txt40 This extension enables the capture and reporting of performance monitors.
41 Performance monitors contain groups of counters which hold arbitrary counted
100 void GenPerfMonitorsAMD(sizei n, uint *monitors)
102 void DeletePerfMonitorsAMD(sizei n, uint *monitors)
233 void GenPerfMonitorsAMD(sizei n, uint *monitors)
235 returns a list of monitors. These monitors can then be used to select
244 void DeletePerfMonitorsAMD(sizei n, uint *monitors)
246 is used to delete the list of monitors created by a previous call to
247 GenPerfMonitors. If a monitor ID in the list <monitors> does not
358 in the <monitors> parameter to DeletePerfMonitorsAMD do not reference
/third_party/skia/third_party/externals/opengl-registry/extensions/QCOM/
DQCOM_performance_monitor_global_mode.txt40 monitors. When enabled, the counters increment in all operations,
53 the performance monitors are in use?
/third_party/openGLES/extensions/QCOM/
DQCOM_performance_monitor_global_mode.txt40 monitors. When enabled, the counters increment in all operations,
53 the performance monitors are in use?
/third_party/libevdev/
DREADME.md31 …, checks for relative axes and a left mouse button and if it finds them monitors the device to pri…
57 // monitors the device to print the event
/third_party/libinput/doc/user/
Dbutton-debouncing.rst18 - In the "bounce" method, libinput monitors hardware bouncing on button
25 immediately followed by a press event. libinput monitors for these events
/third_party/python/Doc/library/
Dcolorsys.rst15 computer monitors and three other coordinate systems: YIQ, HLS (Hue Lightness

1234