Re: gl calls before context set up = crash!

Greg Humphreys <[email protected]> Fri, 25 Feb 2005 22:10:15 -0500
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
I'm pretty sure that at some point in the past glim was set up to
point to the NOP spu, which was always loaded by default.  Has this
changed?


On Fri, 25 Feb 2005 19:46:15 -0700, [email protected]
<[email protected]> wrote:
> Hi all,
> 
> My research group is working on some modifications to Cr to allow head-tracked
> stereo for CAVE-type environments and we've had some good success!
> 
> But I've run into a nasty problem: we're running a 3rd-party client app that's
> very naughty... It appears to be calling gl calls before setting up its
> rendering context.
> 
> We're working on Windows, starting from the 1.7 release code (I know, I should
> probably grab what's in CVS...) and the functions in windows_exports.c
> typically do the following:
> 
> NAKED void cr_SomeFunc( argsGoHere )
> {
>         __asm jmp [glim.SomeFunc]
>         UNUSED( argsGoHere );
> }
> 
> I haven't dug too far into this yet, but I think this blind jmp is the
> problem, since glim hasn't been set up yet. We would either need to test for
> this or glim needs to be set up sooner...
> 
> Can anyone comment on what would be involved in getting a high-performance
> work-around going for this degenerate case!
> 
> Thanks,
> Jon
> 
> Jonathan Marbach
> BP Center for Visualization
> 3400 Marine St.
> Boulder, CO 80218
> www.bpvizcenter.com
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Chromium-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chromium-dev
> 
> 


-- 
Greg Humphreys, Assistant Professor
Department of Computer Science, University of Virginia
http://www.cs.virginia.edu/~humper/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click