Difference between revisions of "OpenGL under linux"

From Organic Design wiki
m
m (Research beginnings)
Line 4: Line 4:
 
MESA is a 3D Graphics Library that can provide software and hardware rendering of openGL. To give hardware rendering it needs [http://dri.sf.net/ DRI] (direct rendering interface) and DRM (direct rendering manager).
 
MESA is a 3D Graphics Library that can provide software and hardware rendering of openGL. To give hardware rendering it needs [http://dri.sf.net/ DRI] (direct rendering interface) and DRM (direct rendering manager).
  
This is limited to DRI-supported video cards but works fine and is hardware-accelerated, get [http://icps.u-strasbg.fr/~marchesin/sdl/sdl_fb_miniglx.patch Stephane Marchesin's glSDL patch]
+
Looks like you need to use the MESA C functions, and then these are passed on to the native openGL functions.
 +
 
 +
This is limited to DRI-supported video cards but works fine and is hardware-accelerated, get [http://icps.u-strasbg.fr/~marchesin/sdl/sdl_fb_miniglx.patch Stephane Marchesin's glSDL patch]
 
*http://osdl.sourceforge.net/OSDL/OSDL-0.3/src/doc/web/main/documentation/rendering/SDL-openGL.html
 
*http://osdl.sourceforge.net/OSDL/OSDL-0.3/src/doc/web/main/documentation/rendering/SDL-openGL.html
+
 
 
==Links==
 
==Links==
 
*[http://osdl.sourceforge.net/OSDL/OSDL-0.3/src/doc/web/main/documentation/rendering/SDL-openGL.html Very extensive and practical OpenGL documentation]
 
*[http://osdl.sourceforge.net/OSDL/OSDL-0.3/src/doc/web/main/documentation/rendering/SDL-openGL.html Very extensive and practical OpenGL documentation]

Revision as of 03:14, 8 September 2006

The question is: What are the OS requirements to provide hardware OpenGL in a linux OS?

Research beginnings

MESA is a 3D Graphics Library that can provide software and hardware rendering of openGL. To give hardware rendering it needs DRI (direct rendering interface) and DRM (direct rendering manager).

Looks like you need to use the MESA C functions, and then these are passed on to the native openGL functions.

This is limited to DRI-supported video cards but works fine and is hardware-accelerated, get Stephane Marchesin's glSDL patch

Links