diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-04-02 16:41:16 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-04-02 16:41:16 +0300 |
commit | 210f7f0f8e9850acbc78fb07023cf017d628c21c (patch) | |
tree | 4dadf131e529cd1c7f19e2c3e39e66391ff26c45 /source/blender/compositor/intern/COM_WorkPackage.h | |
parent | a0f705f18c49d98bdad55eeb8d52ba48c86f4fc9 (diff) |
Compositor: stream operators for WorkPackages.
Helps developers during debugging.
Diffstat (limited to 'source/blender/compositor/intern/COM_WorkPackage.h')
-rw-r--r-- | source/blender/compositor/intern/COM_WorkPackage.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_WorkPackage.h b/source/blender/compositor/intern/COM_WorkPackage.h index 4541a778711..b8e40dc7226 100644 --- a/source/blender/compositor/intern/COM_WorkPackage.h +++ b/source/blender/compositor/intern/COM_WorkPackage.h @@ -18,10 +18,12 @@ #pragma once -#include "COM_defines.h" +#include "COM_Enums.h" #include "BLI_rect.h" +#include <ostream> + namespace blender::compositor { // Forward Declarations. class ExecutionGroup; @@ -53,4 +55,6 @@ struct WorkPackage { #endif }; +std::ostream &operator<<(std::ostream &os, const WorkPackage &WorkPackage); + } // namespace blender::compositor |