View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003566 | VTK | (No Category) | public | 2006-08-01 12:20 | 2011-01-13 17:00 | ||||
Reporter | Sean McBride | ||||||||
Assigned To | Mathieu Malaterre | ||||||||
Priority | low | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003566: Performance improvement for vtk using Carbon | ||||||||
Description | The docs for the aglSwapBuffers() function say: <http://www.devworld.apple.com/documentation/GraphicsImaging/Reference/AGL_OpenGL/Reference/reference.html#//apple_ref/c/func/aglSwapBuffers> [^] "The aglSwapBuffers function either swaps the buffers or copies the back buffer content to the front buffer. Before it returns, aglSwapBuffers invokes the OpenGL function glFlush" Similiarly, this doc say: <http://developer.apple.com/technotes/tn2004/tn2093.html> [^] "For instance, you could use glFlush() to force drawing updates at the end of a draw loop, but you would not want to do this right before a call to a buffer swapping command (such as aglSwapBuffers(), which contains an implicit glFlush() itself)." vtk is making this mistake. I have attached a patch. I have tested that my dashboard succeeds, but have not done further testing. I believe the change is quite safe. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | patch.txt [^] (741 bytes) 1969-12-31 19:00 [Show Content]
glflush.patch [^] (1,810 bytes) 1969-12-31 19:00 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0004838) Mathieu Malaterre (developer) 2006-09-04 10:21 |
$ cvs ci -m"BUG: Fix Bug 0003566 - Performance improvement for vtk using Carbon" Rendering/vtkCarbonRenderWindow.cxx /cvsroot/VTK/VTK/Rendering/vtkCarbonRenderWindow.cxx,v <-- vtkCarbonRenderWindow.cxx new revision: 1.45; previous revision: 1.44 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-01-13 17:00 | Source_changeset_attached | => VTK master a2bd8391 | |
2011-01-13 17:00 | Source_changeset_attached | => VTK master 020ef709 | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |