Re: cr-1.9 problem with adding new extensions

Alan Hourihane <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Organization Tungsten Graphics, Inc.
Message-ID <[email protected]>
On Tue, 2006-06-13 at 09:12 +0100, [email protected] wrote:
> Hello,
> 
> I need some help, by adding new extensions to chromium. I tried to add a 
> new extension to chromium, "glCreateShader", how described in docs "Adding 
> OpenGL Extensions to Chromium". I've modified the "cr_versions.h" and replace 
> the "glext.h" with a new one, to support OpenGL 2.0. I've added to APIspec.
> txt following strings:
> name   CreateShader
> return   GLuint
> param  shaderType  GLenum
> paramprop shaderType GL_VERTEX_SHADER GL_FRAGMENT_SHADER
> category 2.0
> props nolist get
> chromium extpack
> 
> After it i've implemented the new code for this extension throughout Chromium.
> 
> The compilation process works fine, i got no Errors, but if i tried to launch 
> an application demo i got two error messages:
> 1. "DLL_ERROR ../libtilesortspu.so: undefined symbol: tilesortspu_CreateShader"
> 2. "CR Error(Localhost:24345): DLL Loader couldn't find/open libtilesortspu.
> so" 

Once you've added the stubs for the extension (as you have done), you
still need to code up specific support for that extension in the
specific SPU's. Some SPU's will need more work than others, and the
_special files are provided to allow the SPU to derive it's own
function.

But you need to carefully add support to all the SPU's in your chain to
ensure the extension you want to add will be supported.

Alan.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.