This patch will do color management on the areas that are cached. This
renders the display in the display space that the user selected for the
This patch isn't complete as it still lacks some areas:
* Viewports (3d viewport and image/uv editor) are still partly drawn in sRGB.
Currently no plan yet how we can solve this.