RenderEngine API: add viewport draw utility functions to bind a GLSL fragment
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 30 Aug 2013 23:49:35 +0000 (23:49 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 30 Aug 2013 23:49:35 +0000 (23:49 +0000)
commit60ff60dcdc9f43891fb8a19e10f9bb7964a539bf
treeced8e2887295b713d67dfd496728703c71f53442
parent6785874e7adf5ef15e7a28b134b2bd4e8b3a8988
RenderEngine API: add viewport draw utility functions to bind a GLSL fragment
shader for converting colors from linear to display space, based on the scene
color management settings.

if engine.support_display_space_shader(scene): # test graphics card support
engine.bind_display_space_shader(scene)
# draw pixels ..
engine.unbind_display_space_shader()
intern/opencolorio/fallback_impl.cc
intern/opencolorio/ocio_capi.cc
intern/opencolorio/ocio_capi.h
intern/opencolorio/ocio_impl.h
intern/opencolorio/ocio_impl_glsl.cc
source/blender/editors/render/render_internal.c
source/blender/editors/screen/glutil.c
source/blender/imbuf/IMB_colormanagement.h
source/blender/imbuf/intern/colormanagement.c
source/blender/makesrna/intern/rna_color.c
source/blender/makesrna/intern/rna_render.c