} while(abort);
int[][] dirt = dirtyRegions.flush();
-
+ /*
for(int i = 0; dirt != null && i < dirt.length; i++) {
if (dirt[i] == null) continue;
int x = dirt[i][0], y = dirt[i][1], w = dirt[i][2], h = dirt[i][3];
if (x+w > root.width) w = root.width - x;
if (y+h > root.height) h = root.height - y;
if (w <= 0 || h <= 0) continue;
-
+ */
// FIXME: set clip to -- x, y, x + w, y + h,
- root.render(this.getPixelBuffer(), identity);
+ System.out.println("paint");
+ root.render(this.getPixelBuffer(), identity, null);
+ /*
//getPixelBuffer().drawPicture(scarImage, 0, root.height - scarImage.height, x, y, x+w, y+h);
if (abort) {
return;
}
}
+ */
unrendered = false;
}