Blender  V3.3
COM_WorkPackage.cc
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2011 Blender Foundation. */
3 
4 #include "COM_WorkPackage.h"
5 
6 #include "COM_ExecutionGroup.h"
7 
8 namespace blender::compositor {
9 
10 std::ostream &operator<<(std::ostream &os, const WorkPackage &work_package)
11 {
12  os << "WorkPackage(execution_group=" << *work_package.execution_group;
13  os << ",chunk=" << work_package.chunk_number;
14  os << ",state=" << work_package.state;
15  os << ",rect=(" << work_package.rect.xmin << "," << work_package.rect.ymin << ")-("
16  << work_package.rect.xmax << "," << work_package.rect.ymax << ")";
17  os << ")";
18  return os;
19 }
20 
21 } // namespace blender::compositor
std::ostream & operator<<(std::ostream &os, const eCompositorPriority &priority)
Definition: COM_Enums.cc:26
contains data about work that can be scheduled
unsigned int chunk_number
number of the chunk to be executed
ExecutionGroup * execution_group
execution_group with the operations-setup to be evaluated
int ymin
Definition: DNA_vec_types.h:64
int ymax
Definition: DNA_vec_types.h:64
int xmin
Definition: DNA_vec_types.h:63
int xmax
Definition: DNA_vec_types.h:63