diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-05-12 23:01:23 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-05-12 23:01:23 +0400 |
commit | df746390020f4484c76d95e094f2533a84bf436c (patch) | |
tree | d40cdb0daf27e9d07621651c7accfa0fc0d41ce2 /source/blender/imbuf/IMB_colormanagement.h | |
parent | 87b308fc23f4b8889c07d1df9f20df7d5f113d63 (diff) |
Speedup for rendered viewport for blender internal
Display code was a bottleneck here, so made it so render
result draw follows Image Draw settings.
Diffstat (limited to 'source/blender/imbuf/IMB_colormanagement.h')
-rw-r--r-- | source/blender/imbuf/IMB_colormanagement.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_colormanagement.h b/source/blender/imbuf/IMB_colormanagement.h index 314daed00dd..7399b8554aa 100644 --- a/source/blender/imbuf/IMB_colormanagement.h +++ b/source/blender/imbuf/IMB_colormanagement.h @@ -93,6 +93,11 @@ struct ImBuf *IMB_colormanagement_imbuf_for_write(struct ImBuf *ibuf, int save_a const struct ColorManagedDisplaySettings *display_settings, struct ImageFormatData *image_format_data); +void IMB_colormanagement_buffer_make_display_space(float *buffer, unsigned char *display_buffer, + int width, int height, int channels, float dither, + const struct ColorManagedViewSettings *view_settings, + const struct ColorManagedDisplaySettings *display_settings); + /* ** Public display buffers interfaces ** */ void IMB_colormanagement_display_settings_from_ctx(const struct bContext *C, |