How can I detect that the contents of the backbuffer has changed?
What I am doing is reading the backbuffer during a drawFrame the contents changing them (running a filter against the contents) then writing back to it. But I do not want to do this repeatedly on the contents I have already changed. So I am looking for a way to only read when the contents have changed.
So is there a way to do that?