This method of the DirectDrawSurface Class builds the list of the rectangles that need to be updated the next time the updateOverlayDisplay method is called.
public void addOverlayDirtyRect(Rect r);
r | The Rect object that needs to be updated. |
This method is used for the software implementation. It is not needed if the overlay support is provided by the hardware.