[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl GLView.java, 1.58, 1.59
Status: Pre-Alpha
Brought to you by:
henryml
|
From: rimestad <rim...@us...> - 2007-05-07 13:39:39
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14127/src/net/sourceforge/bprocessor/gl Modified Files: GLView.java Log Message: added displaylists on surfaces and forward update call from glView to view to clear these in a consdervative manner. Better performance. Made drawGeneralEdge use drawEdge method with EdgeAttribute as well, seem to work, but look out for edge flaws :-D Index: GLView.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/GLView.java,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** GLView.java 7 May 2007 13:19:07 -0000 1.58 --- GLView.java 7 May 2007 13:39:39 -0000 1.59 *************** *** 427,435 **** */ public void update(Object entity) { ! if (entity == Selection.primary()) { ! repaint(); ! } else { ! repaint(); ! } } } --- 427,432 ---- */ public void update(Object entity) { ! getView().update(entity); ! repaint(); } } |