View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014805VTK(No Category)public2014-06-17 09:222016-08-12 09:55
Reporterflorianlink 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0014805: QVTKGraphicsItem does not call OpenGLInitContext() on its render window
DescriptionThe vtkGenericOpenGLRenderWindow does not call OpenGLInit() by itself (in contrast to vtkWin32/X/.../RenderWindows. The OpenGLInit() calls OpenGLInitContext(), which initializes the GL Extension manager and the vtkgl entry points.

When rendering a scene using the QVTKGraphicsItem which uses entry points of vtkgl, this crashes because OpenGLInitContext() was never called.

The problem goes away if one uses a QVTKWidget/QVTKWidget2 first, because this initialized the global vtkgl entry points.

I think it would be better to call OpenGLInitContext() on the render window in QVTKGraphicsItem::MakeCurrent() when MakeCurrent is called the first time.
TagsNo tags attached.
ProjectTBD
Typecrash
Attached Files

 Relationships

  Notes
(0036277)
Berk Geveci (administrator)
2016-07-06 16:48

Setting to status of bugs that have not been updated in the last year to expired. Please re-open if still important.
(0037332)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-06-17 09:22 florianlink New Issue
2016-07-06 16:48 Berk Geveci Status backlog => expired
2016-07-06 16:48 Berk Geveci Note Added: 0036277
2016-08-12 09:55 Kitware Robot Note Added: 0037332
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team