Without actually seeing what's going on, it's tough to say specifically, but here are a few options:
-Try logging out and back in
-Try killing the window server process
-Try running a hardware test that checks your VRAM. If this fails, you need a new logic board.
I can't imagine any other possibilities. I'm leaning towards the second one. Note that this will log out all users and kill all open apps.