Re: OpenGL-based framebuffer concepts



On Maw, 2006-05-23 at 10:10 -0400, Kyle Moffett wrote:
A GPU which does not support OpenGL at all would look virtually

No GPU today "supports" OpenGL

2) Client program sends OpenGL commands through kernel framebuffer
device.
3) Kernel either passes the OpenGL commands to the GPU or if they
were trapped by the software renderer it passes them to that, which
can emulate them using more primitive operations.

You've no idea how a GPU works have you ?

The process generally goes something like this.

I build an OpenGL rendering context.
The supporting library JITs an engine which implements this rendering
context and pipeline. Only a JIT is really fast enough because there are
so many tests are otherwise involved.

Each poly is fired down the JIT engine which produces a mix of
- AGP command streams
- GPU bytecodes
- Polygon breakdowns which go back into the engine
(eg for clips the chip can't do)
- Texture loads and swaps

The GPU view of the universe is far far from the OpenGL one. With the
possible exception of the big 3D Labs cards anyway.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: OpenGL-based framebuffer concepts
    ... Someone once mentioned OpenGL ES as a possibility as it ... stack into the kernel including the rendering loops which tend to be ... GPU needs such advanced resource management that the X server (or ... delivery of GPU commands from userspace to hardware, ...
    (Linux-Kernel)
  • Re: Cello/OS X update
    ... rendering, even if you are using MesaGL, by updating the bare minimum at ... Whatever GPU you have is just gravy. ... > your display lists provide for free). ... do boring 2D graphics in OpenGL and you scream as well. ...
    (comp.lang.lisp)
  • Re: Display problems in Vista
    ... I was able to fix the problem by rendering to a DIB section and then ... single dialog application that displays an OpenGL area ... BOOL CTestPane::RegisterWindowClass ... BOOL bResult = RegisterClassEx; ...
    (comp.graphics.api.opengl)
  • Re: OpenGL-based framebuffer concepts
    ... or modified /dev/fbX device that offers native OpenGL rendering support. ... So for a low end video card you want to put a full software opengl es stack into the kernel including the rendering loops which tend to be large and slow, ... Client connects to the window-server via TCP or UNIX socket. ... Client program sends OpenGL commands through kernel framebuffer device. ...
    (Linux-Kernel)
  • Re: Display problems in Vista
    ... I was able to fix the problem by rendering to a DIB section and then BitBlt the rendered bitmap. ... I realize that this problem involves Vista, but there is an OpenGL ... BOOL CTestPane::RegisterWindowClass ... BOOL bResult = RegisterClassEx; ...
    (comp.graphics.api.opengl)