[Bf-blender-cvs] [9785f84dd20] master: Cleanup remove incorrect TODO in image engine.
Jeroen Bakker
noreply at git.blender.org
Fri Dec 9 09:59:06 CET 2022
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:
More information about the Bf-blender-cvs
mailing list