Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 7 of 7

Thread: Is it possible to go into full screen mode in Linux

  1. #1
    Junior Member Regular Contributor
    Join Date
    Sep 2000
    Posts
    205

    Is it possible to go into full screen mode in Linux

    I'm thinking about doing some opengl stuff in linux and i was wondering if its possible to go into fullscreen mode like in windows. thanks in advance.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    State College, PA
    Posts
    204

    Re: Is it possible to go into full screen mode in Linux

    Yep - try using glut if you are just beginning - it's a pretty simple switch...

    Chris

  3. #3
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    Caracas/Venezuela
    Posts
    182

    Re: Is it possible to go into full screen mode in Linux

    Yes and if you feel like messing with xwindows get the glut source and find the game mode functions: http://reality.sgi.com/mjk/glut3/glut3.html

  4. #4
    Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Karlsruhe, Germany
    Posts
    486

    Re: Is it possible to go into full screen mode in Linux

    1. try SDL. www.libsdl.org
    its easy and can switch screen resolution

    2. there is no fullscreen mode under windows with opengl, its just a maximised window without borders

    -Lev

  5. #5
    Junior Member Newbie
    Join Date
    Sep 2000
    Posts
    15

    Re: Is it possible to go into full screen mode in Linux

    Hi,

    2. there is no fullscreen mode under windows with opengl, its just a maximised window without borders
    Afaik it works the same way under X11. At least that is how I did it in my ports of some of NeHe's lessons. My code does basic resolution switching and allows to toggle fullscreen/window mode via F1.

    If someone knows of an other (better) way to do fullscreen under X I would be glad to know...

    bxe Miq

  6. #6
    Junior Member Regular Contributor
    Join Date
    Sep 2000
    Posts
    205

    Re: Is it possible to go into full screen mode in Linux

    hanks fo rall the post you guys abviously have already compiled these programs in LInux, so can you tell me- what files so i need to put and where so i can compile in linux. i got opengl superbible and it came with a cd .... damnit i just realized the linux files might be on the cd too with a readme. what a releive thanks anyway.....

  7. #7
    Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Karlsruhe, Germany
    Posts
    486

    Re: Is it possible to go into full screen mode in Linux

    what hardware do you have? if its nvidia then go and download the driver from their site. Else you need mesa.

    Then you might want to use some kind of window handling library (glut or SDL)
    I prefer SDL.

    That should make it. just link with libGL libGLU libSDL libpthread and it should work

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •