Blender Git Loki
Git Commits -> Revision adf98e6
Revision adf98e6 by Clément Foucault (draw-colormanagement) January 26, 2020, 16:09 (GMT) |
DRW: Move color management to the GPUViewport This moves the colormanagement step at the blitting step of the viewport. This means the overlay (including gizmos) must all be rendered in a separate buffer (meaning they are more or less properly color managed). The draw manager sets the display transform to apply to the GPUViewport. |
Commit Details:
Full Hash: adf98e6360d9865b2c086178f5e2fa051d212f2e
Parent Commit: 419a818
Lines Changed: +181, -154
11 Modified Paths:
/source/blender/draw/DRW_engine.h (+3, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_antialiasing.c (+2, -4) (Diff)
/source/blender/draw/intern/draw_color_management.c (+0, -98) (Diff)
/source/blender/draw/intern/draw_color_management.h (+0, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+53, -8) (Diff)
/source/blender/draw/intern/DRW_render.h (+3, -2) (Diff)
/source/blender/editors/screen/glutil.c (+2, -2) (Diff)
/source/blender/gpu/GPU_viewport.h (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+80, -24) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+2, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+31, -11) (Diff)
/source/blender/draw/engines/overlay/overlay_antialiasing.c (+2, -4) (Diff)
/source/blender/draw/intern/draw_color_management.c (+0, -98) (Diff)
/source/blender/draw/intern/draw_color_management.h (+0, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+53, -8) (Diff)
/source/blender/draw/intern/DRW_render.h (+3, -2) (Diff)
/source/blender/editors/screen/glutil.c (+2, -2) (Diff)
/source/blender/gpu/GPU_viewport.h (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+80, -24) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+2, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+31, -11) (Diff)