MantisBT - ParaView
View Issue Details
0015791ParaView(No Category)public2015-10-20 14:272015-12-15 20:21
Utkarsh Ayachit 
Dan Lipsa 
normalminorhave not tried
closedfixed 
 
5.0 
Kitware
incorrect functionality
0015791: EGLRenderWindow creates new context when the window is resized
EGLRenderWindow creates new context when the window is resized. A new context is expensive since mappers have to create create textures etc. Can you check if there's some way to avoid that? Can we create a bigger context by default?
No tags attached.
Issue History
2015-10-20 14:27Utkarsh AyachitNew Issue
2015-10-20 14:27Utkarsh AyachitAssigned To => Dan Lipsa
2015-10-21 10:17Dan LipsaNote Added: 0035320
2015-10-21 10:50Utkarsh AyachitNote Added: 0035321
2015-10-21 14:05Dan LipsaNote Added: 0035355
2015-10-21 14:06Dan LipsaStatusbacklog => active development
2015-11-02 10:22Dan LipsaStatusactive development => gatekeeper review
2015-12-11 14:58Utkarsh AyachitStatusgatekeeper review => customer review
2015-12-11 14:58Utkarsh AyachitResolutionopen => fixed
2015-12-11 14:58Utkarsh AyachitFixed in Version => 5.0
2015-12-15 20:21Alan ScottNote Added: 0035566
2015-12-15 20:21Alan ScottStatuscustomer review => closed

Notes
(0035320)
Dan Lipsa   
2015-10-21 10:17   
It turns out that I don't recreate a new context when I resize an EGL window. I only recreate a new (offscreen) window. It does not seem to be a way to resize an already created offscreen window. You always create a new offscreen window and specify the size at creation time.
See:
https://www.khronos.org/registry/egl/sdk/docs/man/ [^]
eglCreatePbufferSurface
(0035321)
Utkarsh Ayachit   
2015-10-21 10:50   
Can you see if we can avoid having vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::LoadVolume() getting called when volume rendering and resizing the render window?
(0035355)
Dan Lipsa   
2015-10-21 14:05   
https://gitlab.kitware.com/vtk/vtk/merge_requests/795 [^]
https://gitlab.kitware.com/paraview/paraview/merge_requests/441 [^]
(0035566)
Alan Scott   
2015-12-15 20:21   
Developer tag in git. Closing.