Results 1 to 3 of 3

Thread: Is that possible to make graphics with OpenGL that works without OS ?

  1. #1
    Newbie Newbie
    Join Date
    Jan 2019
    Posts
    1

    Is that possible to make graphics with OpenGL that works without OS ?

    Hello, I want to make some graphics with c++ and OpenGL which will work on computer with nvidia gpu and intel cpu. I have windows os. I may write program in Visual stuido. That will be very simple. That will render only a 2D Square and program will be all 2D. However, I do not have any idea how that will work. Additionally, to display graphics I will need windows references to display it. I want my program display graphics at boot time without any windows reference. Is that possible and easier with Visual studio ?

  2. #2
    Senior Member OpenGL Lord
    Join Date
    Mar 2015
    Posts
    6,674
    Do you know of a program released in the last 20 years that displays anything "at boot time" that isn't itself an operating system?

    The days of booting into an application have long since passed. It's completely unnecessary; it's far more user friendly (not to mention easier to code) to just use the OS, just like everyone else.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Oct 2004
    Posts
    4,651
    Quote Originally Posted by gomidas View Post
    Is that possible to make graphics with OpenGL that works without OS ? ...
    That will render only a 2D Square and program will be all 2D. ...
    I want my program display graphics at boot time without any windows reference.
    The general sequence of control (and screens you typically see) when you boot a PC from a local disk is:


    (we're ignoring network/PXE boot here). It's not clear at what stage you're actually wanting to render this. Where? One of the first two stages, before the OS is actually loaded? Specifying where is going to define what programming constraints you have to live with.

    Since you only want to draw a 2D square, then you hardly need a 3D graphics API, so you can be flexible and just use what graphics APIs are available at that stage. Which is good, because at that stage you're probably not going to have more than basic graphics APIs available to you (such as VESA). At those stages, the GPU graphics drivers providing support for various 3D graphics APIs (including OpenGL, Vulkan, and D3D) haven't even been loaded yet.

    That said, you can render screens with 2D graphics at these early stages. Here are a few examples from years back: LINK, LINK, LINK.

Similar Threads

  1. OpenGL through remote desktop works on intel hd graphics!
    By DougQuaid in forum OpenGL: Windows
    Replies: 0
    Last Post: 04-30-2016, 01:49 AM
  2. Can't make texture works
    By agrum_ in forum OpenGL: GLSL
    Replies: 1
    Last Post: 05-05-2012, 05:42 PM
  3. Replies: 2
    Last Post: 08-31-2010, 06:02 AM
  4. will the order of the graphics make differences?
    By haitian in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 09-16-2005, 10:26 PM
  5. How OpenGL works
    By starz2far in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-13-2001, 07:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean