[vtk-developers] OpenGL Extension loading with OSMesa?
burlen
burlen.loring at gmail.com
Tue Apr 16 12:26:38 EDT 2013
Hi Kathleen,
I need this functionality and am starting to work on it, it won't be
ready for vtk 6. I'm curious to see if anyone else is already working on
it. Please speak up if so.
I'm just digging in but my understanding is that VTK provides it's own
extension wrangler (Utilities/ParseOGLExt) for compile time creation of
headers (vtkgl.h), and an extension manager vtkOpenGLExtensionManager
for run time api to check the results. However, in the cmake code there
is logic such that when X11 is disabled or not present, the extension
wrangler/pareser is not run. Also like the previous post mentioned the
parser is not aware of OSMesaGetProcAddress, thus at run time the
extension manager knows nothing about the extensions os mesa provides.
So currently OSMesa without X11 means no extensions are available.
Burlen
On 04/15/2013 02:32 PM, Kathleen S. Biagas wrote:
> Just wanted to ping the list again, see if anyone has an answer to
> Cyrus' question?
>
> Kathleen
>
> On Tue, 2013-03-05 at 14:07 -0800, Cyrus Harrison wrote:
>> Hi Everyone,
>>
>> I have been hunting for quite a bit with no luck - so I am hoping the
>> experts can give me a ruling here:
>>
>> Looking at VTK-6 source from git, I was expecting to find
>> `OSMesaGetProcAddress' wired into the guts of VTK somewhere to support
>> OpenGL extensions for the OSMesa case.
>>
>> Does that logic exist or does OSMesa simply result in a configuration
>> that defines "VTK_NO_EXTENSION_LOADING"?
>>
>>
>> Thanks for your help,
>> -Cyrus
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
More information about the vtk-developers
mailing list