(displayHost.getPeer().canDetermineObscurity() && !displayHost.getPeer().isObscured()));
}
if (optimizeScrolling) {
try {
graphics.copyArea(blitX, blitY, blitWidth, blitHeight, -deltaScrollLeft, 0);
} catch (Throwable throwable) {
// Due to Sun bug #6293145, we cannot call copyArea if scaling is
// applied to the graphics context, so we fall back gracefully here
optimizeScrolling = false;
}