Changeset 4316 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2011-08-13T19:51:31+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r4087 r4316 202 202 @Override 203 203 public void render(final DataSet data, boolean renderVirtualNodes, Bounds bounds) { 204 //long start = System.currentTimeMillis();204 long start = System.currentTimeMillis(); 205 205 BBox bbox = new BBox(bounds); 206 206 … … 226 226 collectWayStyles(data, sc, bbox); 227 227 collectRelationStyles(data, sc, bbox); 228 //long phase1 = System.currentTimeMillis();228 long phase1 = System.currentTimeMillis(); 229 229 sc.drawAll(); 230 230 sc = null; 231 231 painter.drawVirtualNodes(data.searchWays(bbox)); 232 232 233 //long now = System.currentTimeMillis();234 //System.err.println(String.format("PAINTING TOOK %d [PHASE1 took %d] (at scale %s)", now - start, phase1 - start, circum));233 long now = System.currentTimeMillis(); 234 System.err.println(String.format("PAINTING TOOK %d [PHASE1 took %d] (at scale %s)", now - start, phase1 - start, circum)); 235 235 } 236 236 }
Note:
See TracChangeset
for help on using the changeset viewer.