Report our resolution on the AWT thread rather than the scene block
resolution thread. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2604 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: SceneBlockResolver.java,v 1.6 2003/05/21 17:10:41 mdb Exp $
|
// $Id: SceneBlockResolver.java,v 1.7 2003/05/22 22:18:27 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.miso.client;
|
package com.threerings.miso.client;
|
||||||
|
|
||||||
@@ -86,16 +86,16 @@ public class SceneBlockResolver extends LoopingThread
|
|||||||
", elapsed=" + elapsed + "ms].");
|
", elapsed=" + elapsed + "ms].");
|
||||||
}
|
}
|
||||||
|
|
||||||
// report statistics
|
|
||||||
if (_queue.size() == 0) {
|
|
||||||
Log.info("Resolution histogram " + _histo.summarize() + ".");
|
|
||||||
}
|
|
||||||
|
|
||||||
// queue it up on the AWT thread to complete its resolution
|
// queue it up on the AWT thread to complete its resolution
|
||||||
EventQueue.invokeLater(new Runnable() {
|
EventQueue.invokeLater(new Runnable() {
|
||||||
public void run () {
|
public void run () {
|
||||||
// let the block's panel know that it is resolved
|
// let the block's panel know that it is resolved
|
||||||
block.wasResolved();
|
block.wasResolved();
|
||||||
|
// report statistics
|
||||||
|
if (_queue.size() == 0) {
|
||||||
|
Log.info("Resolution histogram " +
|
||||||
|
_histo.summarize() + ".");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user