/** Marks the given region of the overlay as dirty. This region, and any previously set dirty regions, will be automatically synchronized with the underlying Texture during the next {@link #draw draw} or {@link #drawAll drawAll} operation, at which point the dirty region will be cleared. It is not necessary for an OpenGL context to be current when this method is called. @param x the x coordinate (in Java 2D coordinates -- relative to upper left) of the region to update @param y the y coordinate (in Java 2D coordinates -- relative to upper left) of the region to update @param width the width of the region to update @param height the height of the region to update @throws GLException If an OpenGL context is not current when this method is called */ public void markDirty(final int x, final int y, final int width, final int height) { renderer.markDirty(x, y, width, height); }
getBackingStore().markDirty(0, 0, getBackingStore().getWidth(), getBackingStore().getHeight());
getBackingStore().markDirty(rect.x(), rect.y(), rect.w(), rect.h());
newRenderer.markDirty(0, 0, newRenderer.getWidth(), newRenderer.getHeight());
getBackingStore().markDirty(rect.x(), rect.y(), rect.w(), rect.h());