Lines Matching defs:mode
71 GLFWvidmode mode;
73 mode.width = width;
74 mode.height = height;
75 mode.redBits = 8;
76 mode.greenBits = 8;
77 mode.blueBits = 8;
78 mode.refreshRate = (int) round(refresh / 1000.0);
83 monitor->modes[monitor->modeCount - 1] = mode;
96 const GLFWvidmode* mode = &monitor->modes[monitor->wl.currentMode];
97 monitor->widthMM = (int) (mode->width * 25.4f / 96.f);
98 monitor->heightMM = (int) (mode->height * 25.4f / 96.f);
236 GLFWbool _glfwGetVideoModeWayland(_GLFWmonitor* monitor, GLFWvidmode* mode)
238 *mode = monitor->modes[monitor->wl.currentMode];