Add events for GPU context loss & restore.