GPU: Fix color difference when rendering to gpu_py_offscreen
authorClément Foucault <foucault.clem@gmail.com>
Thu, 28 Mar 2019 21:38:55 +0000 (22:38 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Thu, 28 Mar 2019 21:38:55 +0000 (22:38 +0100)
commit4d71b655ec05d4fcee72d4606e97a3e146804054
tree32e2e3d20c499882a559c166d11195e2f9974174
parent42dd888b98b598c240f78302b857fa60add08ca5
GPU: Fix color difference when rendering to gpu_py_offscreen

Now we do the color management inside the Draw manager and output CM byte
buffer.
source/blender/draw/DRW_engine.h
source/blender/draw/intern/draw_manager.c
source/blender/editors/include/ED_view3d.h
source/blender/editors/space_view3d/view3d_draw.c
source/blender/python/gpu/gpu_py_offscreen.c