As far as I understand, there are 4 main modes in GLFW:
- Windowed mode (monitor = nullptr)
- Fullscreen mode (monitor != nullptr)
- Windowed borderless (monitor = nullptr, decorated = false)
- Fullscreen borderless (monitor != nullptr, video mode = monitor mode)
You can then specify the auto iconify hint to determine whether the fullscreen borderless will minimize when focus is lost.
What is the difference between #3 and #4? For example, if I create a borderless, maximized, and undecorated, window compared to creating a fullscreen borderless window with the same monitor mode?
glfwWindowHint(GLFW_RED_BITS, video_mode->redBits); glfwWindowHint(GLFW_GREEN_BITS, video_mode->greenBits); glfwWindowHint(GLFW_BLUE_BITS, video_mode->blueBits); glfwWindowHint(GLFW_REFRESH_RATE, video_mode->refreshRate); etc... window = glfwCreateWindow(video_mode->width, video_mode->height, "example", monitor, nullptr);
glfwWindowHint(GLFW_DECORATED, GLFW_FALSE); etc... window = glfwCreateWindow(video_mode->width, video_mode->height, "example", nullptr, nullptr);
Are they treated the same by Windows 8/10 and/or does one go through the compositor and the other does not?
Thanks much for the clarification.