Re: New Darwin Patch
Jorge Luis Williams <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jul 15, 2004, at 9:25 AM, Christopher Waters wrote: > Sorry I haven't replied until now, I've been pretty busy on all this. > > I agree with the CGL direction for the stub and AGL for the render > SPU; so much that I'm almost done with it ;) I've had it working with > the native ogl, and I got the chromium things to work just yesterday > (had spheres rendering on two other macs :) > Cool! > Some problems I've come accross: > AGL uses the context after some of the CGL calls, mainly > CGLCreateContext. This is bad because we're not giving it a pointer > to a CGL object; heck, we haven't even made one yet at that point. > the crSwapBuffers takes a window as an argument, but CGLFlushDrawable > only takes a context. There -is- a possible way to link the two (I've > got it doing that in the render spu), but I'm not sure if it's ok to > do in the faker lib just yet. > I was running some experiments and I noticed that some AGL and GLX programs generate CGL calls which are not documented. Have you run into these problems? I always assumed one of the undocumented calls linked the window with the context..is this what you're doing in the render spu?? > I'll try to get everything else up to trunk today, since I last > updated a few weeks ago, and send out a patch for it. Speaking of > which, what's the best diff usage for a patch? > How functional is your patch have you tested with AGL, GLX and Cocoa apps? If your patch isn't fully functional yet maybe we should merge both of our patches since mine appears to be fully functional for GLX apps. Take a look at what I've done and let's see if we can add a compilation option where we can compile with only GLX support and this is fully functional for now or we can compile CGL which will be experimental till you get your stuff up and running. This will get people up and running on Darwin fast. On the other hand if you feel CGL is complete enough to support CGL, AGL, and GLX apps - then maybe we should ignore my patch completely :-) As for creating a patch -- I usually track chromium on my own cvs server and run a cvs rdiff to generate my patches. -jOrGe W. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click