View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009365VTK(No Category)public2009-08-05 09:202016-08-12 09:55
ReporterSergey Anikin 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0009365: Unnecessary glFlush() call in vtkOpenGLFreeTypeTextMapper::RenderOverlay()
DescriptionIn VTK 5.4.2 and older versions there is a strange glFlush() call in vtkOpenGLFreeTypeTextMapper::RenderOverlay().
Even if it leads to no visible consequences on most "native" Linux X servers (neither locally nor through a remote connection), on some Win32 X servers like X-Win32 or Exceed it results in frame buffer swapping, and everything drawn after the first text label goes immediately to the active frame buffer and appears on the screen.

I have tried to comment glFlush() call (most likely, it remains there since some debugging). This resolves my problem, thus I attach the corrected source file for validation and testing.
TagsNo tags attached.
Project
Type
Attached Filesgz file icon vtkOpenGLFreeTypeTextMapper.tar.gz [^] (3,988 bytes) 2009-08-05 09:20

 Relationships

  Notes
(0018280)
Sean McBride (developer)
2009-10-29 14:12

I tried this change on my working copy and 1) no new test failures were introduced 2) it does not cause any problems in my app, including where I use vtk to draw text.

flushes are expensive, so if this really isn't needed, that'd be nice.

Assigning to François because I know he knows about ogl&vtk. :)
(0037093)
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
2009-08-05 09:20 Sergey Anikin New Issue
2009-08-05 09:20 Sergey Anikin File Added: vtkOpenGLFreeTypeTextMapper.tar.gz
2009-10-29 14:12 Sean McBride Note Added: 0018280
2009-10-29 14:12 Sean McBride Status backlog => tabled
2009-10-29 14:12 Sean McBride Assigned To => François Bertel
2010-09-07 13:44 François Bertel Assigned To François Bertel =>
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037093
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