diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-19 10:59:43 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-19 19:11:47 +0300 |
commit | 18b87e2e0b9393b9a20733b2396277a48a0b0c5d (patch) | |
tree | 4389dbf22436b7387a04565e7c2f63c05c120d63 /source/blender/compositor/intern/COM_ExecutionGroup.h | |
parent | eb7a601e1b9c2aca90b5abccf118e83f94fd0e17 (diff) |
Cleanup: Remove unneeded complexity
`determineDependingMemoryProxies` was mapping a value in a temp vector.
Diffstat (limited to 'source/blender/compositor/intern/COM_ExecutionGroup.h')
-rw-r--r-- | source/blender/compositor/intern/COM_ExecutionGroup.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionGroup.h b/source/blender/compositor/intern/COM_ExecutionGroup.h index f73f4473b5d..d59442db246 100644 --- a/source/blender/compositor/intern/COM_ExecutionGroup.h +++ b/source/blender/compositor/intern/COM_ExecutionGroup.h @@ -217,7 +217,7 @@ class ExecutionGroup { * true: package(s) are scheduled * false: scheduling is deferred (depending workpackages are scheduled) */ - bool scheduleChunkWhenPossible(ExecutionSystem *graph, int xChunk, int yChunk); + bool scheduleChunkWhenPossible(ExecutionSystem *graph, const int chunk_x, const int chunk_y); /** * \brief try to schedule a specific area. @@ -397,14 +397,6 @@ class ExecutionGroup { void execute(ExecutionSystem *graph); /** - * \brief this method determines the MemoryProxy's where this execution group depends on. - * \note After this method determineDependingAreaOfInterest can be called to determine - * \note the area of the MemoryProxy.creator that has to be executed. - * \param memoryProxies: result - */ - void determineDependingMemoryProxies(std::vector<MemoryProxy *> *memoryProxies); - - /** * \brief Determine the rect (minx, maxx, miny, maxy) of a chunk. * \note Only gives useful results after the determination of the chunksize * \see determineChunkSize() |