Recently my imac started having these graphic issues. I'm not sure if they are hardware or software related. You can see them here on the screenshot of my desktop, but if open a browser, it's like the spots stay under the browser window, but are still there on the desktop window when you minimize the browser. Sometimes they go away and sometimes they will appear on the browser window as well and will "jitter" or "shake" when you scroll.

