Re: Chromium, DMX and OpenGL 2.0

Brian Paul <[email protected]> Fri, 11 Jan 2008 07:35:33 -0700
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Brian Paul wrote:
> Chris Burns wrote:
>> Hi,
>>
>> I am working with a PC linux cluster that's using DMX and Chromium 
>> 1.9  to run OpenGL apps on a 3x3 tiled wall display. The problem I'm 
>> having  is that there seems to be an issue with OpenGL 2.0. 
>> Specifically, I  get a NULL pointer back when I try to call 
>> glCreateShader with either  GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
>>
>> If I re-login to the machine without DMX and run only on the head 
>> node  of the cluster, everything runs fine. Chromium doesn't seem to 
>> make  much difference either way.
>>
>> Does anyone know if DMX is somehow not compatible with the latest  
>> OpenGL API routines, or could show me where I need to look to find 
>> out  why I'm getting NULL?
> 
> The problem is Chromium does not support OpenGL 2.x.
> 
> It would be a fair-sized task (a couple weeks?) to implement but if 
> you're game, I could give some pointers.

Several people have asked me for more details off-list.  Let's keep the 
2.0 discussion on the list.  Maybe several people can cooperate on it.

Here's my previous reply:


The glapi_parser/APIspec.txt file defines all the GL functions.  You'd 
begin by adding the GL 2.0 functions.  Then, when you run 'make' quite a 
few python scripts will use the spec file to generate various .c files. 
  There will be some failures where hand-coded functions will probably 
be needed.  Hand-coded functions are usually listed in "special" files.

I think there's a doc/ file that talks about how to add support for new 
GL extensions.  That probably has some tips too.

-Brian

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace