Allow frame callback to be enabled/disabled

Since per-frame readback is slow and clients don't need it on all the
time, this change allows the callback to be registered after
initialization, and allows it to be disabled later.

Change-Id: Ic73d4515d302a0981ee0c80b9e6f9ba5c84b82ae
5 files changed