Looks like a bad GPU to me
Is it confined to a single app, or does it happen all the time, regardless of what app is in the foreground? Are you running Mountain Lion or an older OS - I'm thinking if you're on the beta, maybe its related to buggy code.