Commit: 9785f84dd20deec8ab2b199863b701c57f9a40b1
Author: Jeroen Bakker
Date: Fri Dec 9 09:57:52 2022 +0100
Branches: master
https://developer.blender.org/rB9785f84dd20deec8ab2b199863b701c57f9a40b1
Cleanup remove incorrect TODO in image engine.
Float rect is always in scene linear space, so we can always reuse
rect_float when available.
===================================================================
M source/blender/draw/engines/image/image_buffer_cache.hh
===================================================================
diff --git a/source/blender/draw/engines/image/image_buffer_cache.hh
b/source/blender/draw/engines/image/image_buffer_cache.hh
index 266476cf8aa..ebd08273dca 100644
--- a/source/blender/draw/engines/image/image_buffer_cache.hh
+++ b/source/blender/draw/engines/image/image_buffer_cache.hh
@@ -58,10 +58,6 @@ struct FloatImageBuffer {
*
* For this reason we store the float buffer in separate image buffers. The
FloatBufferCache keep
* track of the cached buffers and if they are still used.
- *
- * TODO: When an image buffer has a float buffer but not stored in scene
linear, it currently
- * doesn't apply color management. In this case we still need to create
another float buffer, but
- * with the buffer converted to scene linear.
*/
struct FloatBufferCache {
private:
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs