Home
last modified time | relevance | path

Searched refs:widthMM (Results 1 - 8 of 8) sorted by relevance

/third_party/glfw/src/
H A Dmonitor.c171 _GLFWmonitor* _glfwAllocMonitor(const char* name, int widthMM, int heightMM) in _glfwAllocMonitor() argument
174 monitor->widthMM = widthMM; in _glfwAllocMonitor()
362 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* handle, int* widthMM, int* heightMM) in glfwGetMonitorPhysicalSize() argument
364 if (widthMM) in glfwGetMonitorPhysicalSize()
365 *widthMM = 0; in glfwGetMonitorPhysicalSize()
374 if (widthMM) in glfwGetMonitorPhysicalSize()
375 *widthMM = monitor->widthMM; in glfwGetMonitorPhysicalSize()
H A Dx11_monitor.c128 int j, type, widthMM, heightMM; in _glfwPollMonitorsX11() local
156 widthMM = oi->mm_height; in _glfwPollMonitorsX11()
161 widthMM = oi->mm_width; in _glfwPollMonitorsX11()
165 if (widthMM <= 0 || heightMM <= 0) in _glfwPollMonitorsX11()
171 widthMM = (int) (ci->width * 25.4f / 96.f); in _glfwPollMonitorsX11()
175 _GLFWmonitor* monitor = _glfwAllocMonitor(oi->name, widthMM, heightMM); in _glfwPollMonitorsX11()
217 const int widthMM = DisplayWidthMM(_glfw.x11.display, _glfw.x11.screen); in _glfwPollMonitorsX11() local
220 _glfwInputMonitor(_glfwAllocMonitor("Display", widthMM, heightMM), in _glfwPollMonitorsX11()
H A Dwl_monitor.c56 monitor->widthMM = physicalWidth; in outputHandleGeometry()
93 if (monitor->widthMM <= 0 || monitor->heightMM <= 0) in outputHandleDone()
97 monitor->widthMM = (int) (mode->width * 25.4f / 96.f); in outputHandleDone()
H A Dwin32_monitor.c66 int widthMM, heightMM; in createMonitor() local
87 widthMM = GetDeviceCaps(dc, HORZSIZE); in createMonitor()
92 widthMM = (int) (dm.dmPelsWidth * 25.4f / GetDeviceCaps(dc, LOGPIXELSX)); in createMonitor()
98 monitor = _glfwAllocMonitor(name, widthMM, heightMM); in createMonitor()
H A Dinternal.h598 int widthMM, heightMM; member
975 _GLFWmonitor* _glfwAllocMonitor(const char* name, int widthMM, int heightMM);
/third_party/glfw/tests/
H A Devents.c483 int x, y, widthMM, heightMM; in monitor_callback() local
487 glfwGetMonitorPhysicalSize(monitor, &widthMM, &heightMM); in monitor_callback()
495 widthMM, heightMM); in monitor_callback()
/third_party/skia/third_party/externals/imgui/examples/libs/glfw/include/GLFW/
H A Dglfw3.h1453 * @param[out] widthMM Where to store the width, in millimetres, of the
1471 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);
/third_party/glfw/include/GLFW/
H A Dglfw3.h2675 * @param[out] widthMM Where to store the width, in millimetres, of the
2693 GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* monitor, int* widthMM, int* heightMM);

Completed in 20 milliseconds