-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate whether DXGI+OpenGL is possible on Windows #2
Comments
Hello, I'm pretty sure that GLFW uses exlusive fullscreen access on my system (I'm still using Windows XP at the moment), since it's behaviour is very different from the window in OpenTK. For example, it isn't visible in the background anymore, if I use ALT+TAB. |
I don't think we can do anything to support XP issues. But I've got Windows 7 and 8 machines here so I can see how fullscreen DX behaves verse what we do on those platforms. |
This is not a XP exlusive issue, at the moment it rather is an issue of all windows operating systems. Also according to my knowledge XP is still supported by OpenTK (and I personally still plan to support XP in my applications, even if I change my OS soon). |
It probably still works, but that's not the same as supported. But will probably find whatever is needed for Win7 to make fullscreen work better will backport to work on XP as well. |
Ok I had a look into this. I can't see any way for an OpenGL application to get exclusive access to fullscreen. GLFW seems to change display mode rather than change window size, but that I don't see anything to suggest they're taking exclusive fullscreen, just some clever tracking of window focus. It's a bit more involved to get the a fullscreen window with a given resolution in OpenTK as you have to get the DisplayDevice set the resolution then make the window fullscreen (and manage all the focus tracking yourself), and maybe we should be doing that for users. But either way your getting similar results, a monitor set to a given resolution and a borderless toplevel window covering that monitor. N.B If we do work out a way to do exclusive fullscreen we should probably add it as a new WindowState, non-exclusive fullscreen does have it's benefits and given we've already worked it out it seems silly to push that work down to the developers again. |
@thefiddler @varon @amulware This issue post is over 1 year old, but GDI is an important issue, should this issue be closed? |
@wcdeich4 I'm not intimately familiar with the windowing system, but if you asked me, it seems unlikely that microsoft is going to cut support for it. it seems like the most sane approach would be to move to SDL, which should also simplify our lives significantly. I'm in favour of closing this issue, so go ahead. We can always re-open it if needed. |
News, FAQ and home page fixes
fix base URL
GDI is deprecated on Windows 8+. Investigate whether we can instantiate an OpenGL context on a DXGI DC.
The text was updated successfully, but these errors were encountered: