Changeset 1307 for trunk/source/visualization/OpenGL/History
- Timestamp:
- Jun 4, 2010, 5:28:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/History
r1286 r1307 1 $Id: History,v 1.17 4 2010/05/30 09:53:05 allisonExp $1 $Id: History,v 1.178 2010/06/04 15:27:47 lgarnier Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 4th June 2010 Laurent Garnier 21 - G4OpenGLImmediate/StoredQtViewer : Add protection against multiple 22 repaint call. Add protection against resizeGl with bad values 23 24 3rd June 2010 John Allison (opengl-V09-03-06) 25 - G4OpenGLImmediateSceneHandler: Re-instate 26 // Make sure screen corresponds to graphical database... 27 if (fpViewer) { 28 fpViewer -> SetView (); 29 fpViewer -> ClearView (); 30 fpViewer -> DrawView (); 31 } 32 I was wrong - it *is* necessary. If not there, events are not refreshed. 33 So this and similar changes below are all back to geant4-09-03, including 34 glFlush, which is still a big performance penalty on Mac's Snow Leopard. 35 36 3rd June 2010 John Allison (opengl-V09-03-05) 37 - Restored following files to geant4-09-03 in interests of stable behaviour: 38 o G4OpenGLStoredSceneHandler.cc 39 Restored code removed in opengl-V09-03-03: 40 // Make sure screen corresponds to graphical database... 41 if (fpViewer) { 42 fpViewer -> SetView (); 43 fpViewer -> ClearView (); 44 fpViewer -> DrawView (); 45 } 46 o G4OpenGLStoredXViewer.cc: 47 Restore to geant4-09-03. Restored code removed in opengl-V09-03-03: 48 } else { // ADD TO AVOID KernelVisit=1 and nothing to display 49 DrawDisplayLists (); 50 FinishView (); 51 - Note: G4OpenGLImmediateSceneHandler: Same code commented out. I think 52 it's not necessary for immediate mode. 19 53 20 54 30th May 2010 John Allison (opengl-V09-03-04)
Note: See TracChangeset
for help on using the changeset viewer.