This will enable compositing to be cleaned up drastically and is necessary
for proper integration with the new scheduler.