svn merge ^/trunk/blender -r48415:48469
[blender.git] / source / blender / imbuf / IMB_imbuf_types.h
index dcb5cdd7d323886ba05e4f7cf3ffc34c43c8aa55..58b9d3742cc06f2ab0b35055a42647615093dce1 100644 (file)
@@ -127,6 +127,12 @@ typedef struct ImBuf {
        unsigned int   encodedsize;       /* Size of data written to encodedbuffer */
        unsigned int   encodedbuffersize; /* Size of encodedbuffer */
 
+       /* color management */
+       int colormanage_refcounter;
+       unsigned int colormanage_flags;
+       unsigned int *display_buffer_flags;  /* array of per-display display buffers dirty flags */
+       void *colormanage_cache_data;        /* cache data which is being assigned when */
+                                            /* put ImBuf to colormanage cache */
        /* information for compressed textures */
        struct DDSData dds_data;
 } ImBuf;
@@ -252,4 +258,7 @@ extern const char *imb_ext_image_qt[];
 extern const char *imb_ext_movie[];
 extern const char *imb_ext_audio[];
 
+/* colormanage flags */
+#define IMB_COLORMANAGED               (1 << 0)
+
 #endif