context type: UNDECIDED vs. CHROMIUM vs. NATIVE

[email protected] Wed, 25 May 2005 15:19:59 -0600
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Hi all,

Could someone clarify the intent of the three different Context types:
UNDECIDED, CHROMIUM, and NATIVE.

I'm running into a situation where contexts (i.e. windows) aren't being
deleted, because their type is UNDECIDED.

The function stubDeleteContext in opengl_stub/context.c only takes action if
the type is NATIVE or CHROMIUM, so contexts that are created under windows
(wgl.c:wglCreateContext_prox) never get deleted.


The result is that apps which create contexts just for the sake of querying
capabilities end up spawning tens or hundreds of windows.


Thanks as always,
Jon Marbach

Univesity of Colorado at Boulder
BP Center for Visualization



-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click