Gryphon_de Posted July 12, 2011 Share Posted July 12, 2011 Hello! How can I make an videomode where application is windowed, but has no window controls, border and title? I want have an ability to switch my app through fullscreen-windowed-"pseudo-fullscreen" videomodes, if it's possible. Link to comment
danni.coy Posted July 13, 2011 Share Posted July 13, 2011 Hello! How can I make an videomode where application is windowed, but has no window controls, border and title? I want have an ability to switch my app through fullscreen-windowed-"pseudo-fullscreen" videomodes, if it's possible. On Linux you can use window manager hints either Motif http://stackoverflow.com/questions/1904445/borderless-windows-on-linux. or Extended Window Manager Hints .. http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . In on some Linux desktops it is possible to configure window manager hints without programming Which I do on my dev box. I am not familiar with windows but this could be an answer. http://stackoverflow.com/questions/3540605/creating-a-window-without-caption-and-border I would love this functionality to be built into the unigine build. Link to comment
Gryphon_de Posted July 13, 2011 Author Share Posted July 13, 2011 Thank you for your advices! I would love this functionality to be built into the unigine build. Aye! Link to comment
manguste Posted July 26, 2011 Share Posted July 26, 2011 Hello! How can I make an videomode where application is windowed, but has no window controls, border and title? I want have an ability to switch my app through fullscreen-windowed-"pseudo-fullscreen" videomodes, if it's possible. Not quite clear how it should be closed, dragged etc. then? Link to comment
danni.coy Posted July 27, 2011 Share Posted July 27, 2011 Not quite clear how it should be closed, dragged etc. then? Window size is usually set to the same size as a monitor (minus toolbar perhaps) so moving is usually not necessary. (on Linux however holding down either meta or alt lets you drag the window). Closing is done from within unigine exactly as if the application were fullscreen. The idea is to emulate the look of fullscreen but allow fast application switching and running applications on other monitors in a multiscreen setup. It will be used when developing content more so than with any shipping game and should not be the default but an option. Link to comment
manguste Posted July 30, 2011 Share Posted July 30, 2011 Such approach is bad from the performance standpoint: it will be decreased if compared to proper fullscreen or windowed modes. Currently it's not planned to be implemented due to this reason. Link to comment
danni.coy Posted July 31, 2011 Share Posted July 31, 2011 How would performance be decreased from Windowed mode? Link to comment
manguste Posted August 3, 2011 Share Posted August 3, 2011 On Windows, speed hit associated with pseudo screen mode has to do with buffer swap behavior. Basically, when the app is in "true" fullscreen mode, it is given special treatment by the window manager. When in full-screen mode, the Desktop Window Manager is disabled. DXGI can perform a flip to present the back buffer contents instead of doing a blit, which it would do in windowed mode. Quoted from here. It is faster and more efficient from memory bandwidth standpoint to flip the buffers instead of copying memory around. Plus, keep in mind disabled aero desktop composition, which is unavailable for pseudo fullscreen apps. Link to comment
ulf.schroeter Posted August 3, 2011 Share Posted August 3, 2011 Also VSync only functions properly in 'real' fullscreen mode Link to comment
ivan.cuevas Posted August 3, 2011 Share Posted August 3, 2011 This mode is interesting if you are working with more than one display. My suggestion is to use Qt to achieve this. Link to comment
danni.coy Posted August 4, 2011 Share Posted August 4, 2011 This mode is interesting if you are working with more than one display. My suggestion is to use Qt to achieve this. BTW is there a trick to building the Qt Demo in sources/App directory I tried this but got no Unigine window and my uniginescript update function ran only once. Link to comment
manguste Posted August 20, 2011 Share Posted August 20, 2011 BTW is there a trick to building the Qt Demo in sources/App directory I tried this but got no Unigine window and my uniginescript update function ran only once. No tricks whatsoever. The standard procedure: run qmake from source/plugins/Interface and then make. Can you please provide any additional info on how you built it? Link to comment
danni.coy Posted August 25, 2011 Share Posted August 25, 2011 I would also like to add that I don't think the QT Plugin stuff will be very compatible with real fullscreen mode. Link to comment
Recommended Posts